Moodle 5.0.2
Release date: 11 August 2025
Here is the full list of fixed issues in 5.0.2.
General fixes and improvements
- MDL-86049 - Purge cache scripts too fragile
- MDL-85701 - Deleting a course that contains questions should delete any questions not used by another course
- MDL-86043 - User confirmation email not sent from bulk user upload when using Oracle DB
- MDL-86176 - Users are getting "Invalid request" when sending their badges to Canvas Credentials
- MDL-86137 - Superfluous borders added to role definition table
- MDL-86098 - Superfluous borders are displayed in the "Manage backpacks" table
- MDL-86004 - Fix the discovery endpoint for Microsoft OAuth 2 single tenant
- MDL-85989 - Choicelist does not display the expected selected item when value is 0 and it is not the first item
- MDL-85967 - Review OpenAI model params and fix any breaking changes
- MDL-85863 - Update the new user creation logic to send the email only after the user has been successfully created
- MDL-85855 - Course name with multilang tags is not filtered correctly in Calendar block
- MDL-85802 - Filters not been applied to quiz upcoming event notification content
- MDL-85779 - Dropdown label does not update after changing sort type in timeline block
- MDL-85734 - When adding a calendar entry for a group, the group name should be processed by filters
- MDL-85683 - Course name linked in the course enrolment notification does not apply multilang filter
- MDL-85659 - TinyMCE generated tables are incorrectly displayed
- MDL-85609 - MFA report empty on sites using MySQL
- MDL-85407 - HTML structure not closed in the Database activity entry list view
- MDL-85338 - Message drawer gets cut off by sticky footer
- MDL-85274 - Calendar duration and repeats should have a sensible limit
- MDL-85262 - Ad-hoc tasks report shows "ASAP" for tasks not yet due
- MDL-85260 - Page is scrollable when modals are open
- MDL-85132 - Glossary layout broken in Classic theme
- MDL-84976 - Some HTML tags/attributes get stripped when editing policies
- MDL-84255 - Quiz name not visible during quiz attempt with secure layout (JavaScript security as well as Safe Exam Browser)
- MDL-84217 - Images that are added to the editor by drag and drop are not responsive
- MDL-72123 - No error displayed when sending a contact request when it is not allowed
- MDL-41924 - Minimise questions included with quiz backups (or duplication)
- MDL-85246 - Quiz "Highest grade" feedback broken after MDL-84232 was applied
- MDL-83487 - Timed forum posts set to go live more than 7 days ahead are not included in user digests
- MDL-84978 - Forum last post user and date is incorrect
- MDL-73003 - Grade not saved to gradebook when using Rubrics with a scale in a Forum activity
- MDL-85590 - Boost theme: going full screen attaches drawers modal backdrop to root HTML
- MDL-75947 - Timestamp issue in grade sync
- MDL-79540 - Should not be possible to set a question category to be its own parent
- MDL-72582 - readfile_accel() error handler may cause "Object of class stored_file could not be converted to string" error
- MDL-85316 - Update AWS Aurora MySQL version support
- MDL-85754 - Choose question bank window does not reload after attempting to choose a question bank you no longer have access to
- MDL-85210 - Quiz with random questions from the system question bank broken and causing errors
- MDL-85069 - Moving questions is unusable for power users with many question banks and categories
- MDL-82797 - Importing qtype_ordering in GIFT format fails
- MDL-85307 - Glossary filter enters loop, causing memory limit issues
- MDL-85721 - Subquestions of a qtype_multianswer question are unnecessarily duplicated when duplicating a quiz that uses them
- MDL-84695 - get_qbank_ids_of_type_in_course also yields modules of other types
- MDL-85514 - Forms hideIf/disabledIf "in" rule not correctly implemented for multiselect/autocomplete
- MDL-85432 - Question banks appear on the bulk completion page
- MDL-84487 - "Switch bank" button does not function when editing a random question
- MDL-42263 - Assignment submission notifications are sent to teachers in the student's preferred language
- MDL-85718 - TinyMCE image link cannot be updated
- MDL-85200 - populate_question_sources in mod_quiz\structure inefficient as it loads data for every question_category in the system
- MDL-85159 - TinyMCE embed multimedia language mismatch
- MDL-85050 - TinyMCE: When finding an image to insert, the file explorer window reappears if you hit cancel
- MDL-84787 - Course calendar does not show imported calendar list
- MDL-84466 - Long running adhoc task: transfer_question_categories
- MDL-82109 - Cannot create site notes for user when accessed from their profile page
- MDL-76414 - Guests cannot navigate to the calendar directly
Accessibility improvements
- MDL-85787 - Course index fails the Dragging Movements success criterion when in a course module and editing mode is turned on
- MDL-85504 - The visually hidden fieldset legend for multiple choice questions in the feedback activity contains raw HTML
- MDL-85470 - Empty column heading on the badges table
- MDL-85231 - The notification drawer misses a focus trap
- MDL-84832 - Alt text field in the editor must inform assistive technology users when the maximum number of characters has been reached
- MDL-86205 - Cannot perform keyboard navigation on other active UI elements when the message drawer is shown
- MDL-86095 - Book activity accessibility issue
- MDL-85995 - Book activity navigation buttons are not properly labelled for screen readers
- MDL-85795 - Search button labels in messaging drawer and global search are not specific enough - (RGAA 11.9)
- MDL-85794 - Improving accessibility - messaging page (RGAA 11.10)
- MDL-85773 - Read-only selects have orphan labels
- MDL-85769 - AI drawer should trap the keyboard focus within when it is open
- MDL-85698 - Combo box menus must inform screen reader users the number of items on the resulting menu
- MDL-85678 - Accessibility issues on the feedback templates page
- MDL-85040 - Forms "Required" icon has an unnecessary ARIA label
- MDL-84752 - Accessibility issues with missing form labels when adding essay question
- MDL-81702 - At advanced levels of zoom, focus is obscured by messages and notifications
Security improvements
- MDL-72133 - Cannot find data record in database table course when course is deleted in log reports
Security fixes
A number of security related issues were resolved. Details of these issues will be released after a period of approximately one week to allow system administrators to safely update to the latest version.