-
Bug
-
Resolution: Fixed
-
Minor
-
4.4
Summary
In the quiz question editor, I'm able to add images to the ordering type question but I'm unable to see the image both in preview & in the regular quiz. I'm able to upload and embed images fine with other question types.
The URL loaded into the editor seems to be a draft/preview URL that is not valid outside of a draft view. The quiz and question are all published and out of draft stage to the extent that I'm aware.
Reproduction steps
- Create quiz
- Create Ordering type question + answers
- Add some text to the question editor
- Add the image to the end of the question text editor:
- Click Insert > Image
- Upload an image
- via the DnD preview
- via Browse Repositories > Upload File
- or via Browse Repositories > Recent Files
- Haven't tested server files, was trying to add through editor*
- The image should be visible in the quiz question editor
- Click the Preview button at the bottom of the editor
- The quiz question preview should display without the image
- If you save the question, exit the configuration, and attempt the quiz, the image won't be visible either
- Firefox: If you right-click the alt text & try to open the image in a new tab, the URL that is used is a draft one and it causes an error
Server files note: I've tried adding the image from the quiz editor all the different ways I can but not from Server files - that might be a good workaround if this happens to be an Azure related issue.
Environment
Moodle 4.2 was originally deployed via Azure/Moodle's Minimal profile & I followed the upgrade steps on the controller to upgrade to 4.4 to use the new Ordering question type & ran the update_last_modified_time.moodle_on_azure script to propagate changes. The upgrade worked, then I ran into this issue when I started adding questions to a quiz.
- is a regression caused by
-
MDL-79863 Ordering question type core integration
- Closed