Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42269 Review all new events introduced in 2.6dev
  3. MDL-42602

complete_user_login sends $USER to snapshots instead of the original record

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.6
    • 2.6
    • Events API
    • BACKEND Sprint 6

      1/ the record data is incomplete
      2/ there are some extras such as prefs
      3/ the snapshot data is modified because it is referenced from $USER

      solution is to clone($user) and fix unit tests

            skodak Petr Skoda
            skodak Petr Skoda
            Damyon Wiese Damyon Wiese
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.