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

Column "questionscontextid" in mdl_question_set_references does not update when filter conditions are changed

XMLWordPrintable

      To reproduce

      1. Create a quiz with a random question, set the category to the default category for the quiz
      2. Check the mdl_question_set_references table, taking note of the "questionscontextid" column
      3. Edit the random question, changing the category to "Top for system" and save
      4. Look at the mdl_question_set_references table
      5. Note that the "questionscontextid" column has not updated - it will still show the same context ID as before

      I believe this was bug was introduced by MDL-72321 because (at least in 4.1) the "questionscontextid" column updates when changing the category for a random question.

            cwarwicker CMR
            cameron1729 cameron1729
            Mark Johnson Mark Johnson
            Tim Hunt Tim Hunt
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 20 minutes
                1h 20m

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