Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44405

Course review - Quiz Attempt ID overwritten by User ID

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 2.6, 2.6.1
    • Quiz
    • None
    • MOODLE_26_STABLE
    • git@github.com:skelty-unikent/moodle.git

    Description

      On the course review pages the quiz attempt ID is being overwritten by the attempt user ID.

      This goes back to 'quiz_get_recent_mod_activity' in quiz lib, where user fields are selected and the ID is not aliased, so the query returns two fields with the name 'id' and results in the attempt ID being overwritten by the User ID.

      Will submit example fix.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              skylarkelty Skylar Kelty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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