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

Trying to call qtype::get_extra_question_bank_actions must not cause fatal errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8.3
    • 3.8.2
    • Questions
    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • Hide
      1. Install any qtype plugin from the plugins DB (e.g. https://moodle.org/plugins/qtype_oumultiresponse).
        Note: If using MDK

        mdk plugin install qtype_oumultiresponse

      2. Go to a course
      3. Create a question of that type.
      4. Create a question of a standard type like true-false.
      5. Delete the folder of the question type plugin. e.g. in your moodle root folder: "rm -rf question/type/oumultiresponse"
      6. Upgrade your Moodle site "php admin/cli/upgrade"
      7. Try to view the question bank.
      8. Verify that the question bank shows up and you can do things with the true/false question you made.
      Show
      Install any qtype plugin from the plugins DB (e.g. https://moodle.org/plugins/qtype_oumultiresponse ). Note: If using MDK mdk plugin install qtype_oumultiresponse Go to a course Create a question of that type. Create a question of a standard type like true-false. Delete the folder of the question type plugin. e.g. in your moodle root folder: " rm -rf question/type/oumultiresponse " Upgrade your Moodle site " php admin/cli/upgrade " Try to view the question bank. Verify that the question bank shows up and you can do things with the true/false question you made.

      To reproduce:

      1. Install any qtype plugin from the plugins DB.
      2. Create a question of that type.
      3. Uninstall the qtype plugin.
      4. Try to view the question bank.

      Expected result: question bank displays, although the questions of the missing type are useless.

      Acutal result: fatal error that prevents you from seeing the question bank.

        1. MDL-68153.jpg
          43 kB
          Anna Carissa Sadia
        2. screenshot-1.png
          137 kB
          Jun Pataleta

            timhunt Tim Hunt
            timhunt Tim Hunt
            Luca Bösch Luca Bösch
            Jun Pataleta Jun Pataleta
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 40 minutes
                2h 40m

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