-
Bug
-
Resolution: Fixed
-
Minor
-
3.8.2
-
MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
This is an issue discovered while fixing MDL-68153. To reproduce:
- Install any qtype plugin from the plugins DB (e.g. https://moodle.org/plugins/qtype_oumultiresponse).
Note: If using MDKmdk plugin install qtype_oumultiresponse
- Go to a course
- Create a question Q1 of that type.
- Create a question Q2 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"
- Go to the course's question bank.
- Open the action menu for Q1.
- What happens:
- The usual action menu items will be displayed. But clicking on these lead to coding exceptions.
- What should happen:
- Only the relevant action menu item(s) should be displayed (e.g. Delete).
- Performing an action on the "missingtype" question should lead to a successful operation and not lead to any errors.
- Discovered while testing
-
MDL-68153 Trying to call qtype::get_extra_question_bank_actions must not cause fatal errors
- Closed