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

Quiz Question Preview Error when using filter in question bank "Invalid Record. Can't find data record in database table course."

    XMLWordPrintable

Details

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-80811-403
    • Hide
      1. Log in as admin
      2. Create a course
      3. Navigate to More > Question bank in course
      4. Create a new question (True/false is the quickest)
      5. Navigate back to course
      6. Add a Quiz activity
      7. Press Add question
      8. Press Add > From question bank
      9. Press Apply filters
      10. Press Preview question
      11. Confirm question preview shows in popup
      12. Confirm there are no exceptions
      13. Confirm the question bank modal is still present
      Show
      Log in as admin Create a course Navigate to More > Question bank in course Create a new question (True/false is the quickest) Navigate back to course Add a Quiz activity Press Add question Press Add > From question bank Press Apply filters Press Preview question Confirm question preview shows in popup Confirm there are no exceptions Confirm the question bank modal is still present

    Description

      We have an issue when adding questions from a bank into a quiz.  When you filter to look at another question category it will display quiz questions properly but the minute you try to preview a question you get the error described in the title.

      Here is how to replicate:
      1) Go to quiz questions and add a question from the question bank.
      2) Apply a filter to view questions from another category.
      3) Preview any question.  
      After the preview popup displays the original modal with the questions displays an error.  
      "Invalid Record.  Can't find data record in database table course."

       

      Video showcasing the error: https://youtu.be/LD1eQ2b25Fk

       

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              kennibc Chris Kenniburg
              Mark Johnson Mark Johnson
              Tim Hunt Tim Hunt
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 46 minutes
                  46m

                  Clockify

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