Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.8.2
-
Fix Version/s: 3.8.3
-
Component/s: Questions
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_38_STABLE
-
Fixed Branches:MOODLE_38_STABLE
-
Pull from Repository:
-
Pull 3.8 Branch:
MDL-68252_38 -
Pull 3.8 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
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.
Attachments
Issue Links
- Discovered while testing
-
MDL-68153 Trying to call qtype::get_extra_question_bank_actions must not cause fatal errors
-
- Closed
-