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

Thrown exception doesn't exist for invalid $CFG->quizquestionbankcolumns

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.5
    • Fix Version/s: 3.9.7, 3.10.4
    • Component/s: Quiz
    • Labels:

      Description

      When setting $CFG->quizquestionbankcolumns = '...'; to include an invalid column class, a confusing exception is thrown because the desired one doesn't exist in the class namespace, which leads to an exception being thrown about the unknown exception class:

      Exception - Class 'mod_quiz\question\bank\coding_exception' not found
      

        Attachments

          Activity

            People

            Assignee:
            pholden Paul Holden
            Reporter:
            pholden Paul Holden
            Peer reviewer:
            Sujith Haridasan Sujith Haridasan
            Integrator:
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Tester:
            Gladys Basiana Gladys Basiana
            Participants:
            Component watchers:
            Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/May/21

                Time Tracking

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