Moodle - the world's open source learning platform https://moodle.org/
Find a file
Mark Johnson ca51acb3e5
MDL-85721 qtype: Cope with missing options records
If we restore a question (or any other) which has had its
qtype_xxx_options record deleted, we get a notification output when we
try to build the options.

This may be called from an AJAX request (such as when we duplicate a
quiz), and outputting the notification breaks the AJAX response.
Returning false also means we don't get the answers attached to the
questiondata options, so the structure doesn't match the restored data,
and we get duplication.

This emits the errors via debugging instead, which allows it to be
supressed or logged, and allows get_question_options() to continue
running.
2025-07-01 11:59:17 +01:00
.github MDL-84860 GitHub: Bump workflow max PHP to 8.4 2025-03-21 12:19:21 +08:00
.grunt MDL-83365 upgradenotes: Add release notes link generator 2025-06-26 09:54:23 +08:00
.phpstorm.meta.php
.upgradenotes Merge branch 'MDL-83895-main' of https://github.com/aanabit/moodle 2025-06-23 15:14:31 +02:00
admin MDL-85436 lib: Deprecate unused icons 2025-06-20 15:33:16 +02:00
ai Merge branch 'MDL-85507-main-enfix' of https://github.com/mudrd8mz/moodle 2025-06-04 11:57:13 +08:00
analytics MDL-84625 analytics: close recordset when it's not needed anymore 2025-04-14 10:01:40 +02:00
auth NOBUG: Add upgrade notes 2025-06-05 16:43:21 +02:00
availability MDL-77964 availability: avoid JS console errors when closing modal. 2025-05-29 10:15:20 +01:00
backup MDL-85556 backup: Only update question refs in restored course 2025-06-02 15:54:10 +01:00
badges NOBUG: Add upgrade notes 2025-06-20 15:14:03 +07:00
blocks NOBUG: Add upgrade notes 2025-06-20 15:14:03 +07:00
blog MDL-85157 theme_boost: Clean table SCSS styles 2025-05-09 13:46:51 +02:00
cache MDL-85157 theme_boost: Clean table SCSS styles 2025-05-09 13:46:51 +02:00
calendar MDL-85734 calendar: support multilang group names. 2025-06-20 16:47:38 +02:00
cohort Merge branch 'MDL-79756-main' of https://github.com/junpataleta/moodle 2025-05-14 22:54:49 +07:00
comment Merge branch 'MDL-79756-main' of https://github.com/junpataleta/moodle 2025-05-14 22:54:49 +07:00
communication MDL-85157 theme_boost: Clean table SCSS styles 2025-05-09 13:46:51 +02:00
competency Merge branch 'MDL-80173' of https://github.com/paulholden/moodle 2025-03-07 09:03:55 +08:00
completion MDL-82069 core_completion: Improve errors for multiple grading items 2025-05-19 09:32:20 +02:00
contentbank MDL-85147 versions: Bump all versions and requires near release 2025-04-09 17:46:57 +08:00
course NOBUG: Add upgrade notes 2025-06-29 16:18:19 +07:00
customfield MDL-85157 theme_boost: Clean table SCSS styles 2025-05-09 13:46:51 +02:00
dataformat MDL-85147 versions: Bump all versions and requires near release 2025-04-09 17:46:57 +08:00
enrol Merge branch 'MDL-84996' of https://github.com/paulholden/moodle 2025-05-29 12:09:26 +08:00
error MDL-82565 core: Improve routed Error handling 2025-03-26 21:20:59 +08:00
favourites MDL-81520 core: Fix test finality 2024-12-11 12:30:23 +08:00
files MDL-84128 core: Flip the image according to its orientation in PHP GD 2025-05-09 11:16:59 +07:00
filter MDL-85488 mathjax: refactor loader to enhance configuration and loading 2025-06-05 10:59:14 +07:00
grade Merge branch 'MDL-79756-main' of https://github.com/junpataleta/moodle 2025-05-14 22:54:49 +07:00
group Merge branch 'MDL-85344' of https://github.com/paulholden/moodle 2025-06-12 17:04:08 +08:00
h5p MDL-85157 theme_boost: Clean table SCSS styles 2025-05-09 13:46:51 +02:00
install Automatically generated installer lang files 2025-06-15 00:09:57 +00:00
iplookup MDL-81520 core: Fix test finality 2024-12-11 12:30:23 +08:00
lang Merge branch 'MDL-85399' of https://github.com/paulholden/moodle 2025-06-19 11:33:31 +07:00
lib Merge branch 'MDL-76414-main' of https://github.com/yusufwib01/moodle 2025-06-26 08:29:32 +07:00
local MDL-83541 qtypes: Remove incorrect test file 2025-03-14 10:10:41 +07:00
login MDL-85323 core: Don't cache the login page 2025-06-05 10:58:49 +07:00
media MDL-85187 upgrade: Add the 5.0.0 separation line to all upgrade scripts 2025-04-13 18:42:19 +08:00
message NOBUG: Add upgrade notes 2025-06-13 14:43:12 +08:00
mnet NOBUG: Add upgrade notes 2025-04-13 09:54:13 +08:00
mod Merge branch 'MDL-85665-main' of https://github.com/andelacruz/moodle into main 2025-06-26 10:46:54 +08:00
moodlenet
my MDL-85497 user: ask for confirmation before page is reset. 2025-05-15 11:04:37 +01:00
notes MDL-82109 notes: include link to add site note if user has capability. 2025-05-20 13:18:25 +01:00
payment MDL-85187 upgrade: Add the 5.0.0 separation line to all upgrade scripts 2025-04-13 18:42:19 +08:00
pix MDL-85463 pix: Replace custom icons 2025-06-13 16:06:02 +02:00
plagiarism MDL-81520 core: Fix test finality 2024-12-11 12:30:23 +08:00
portfolio MDL-85187 upgrade: Add the 5.0.0 separation line to all upgrade scripts 2025-04-13 18:42:19 +08:00
privacy MDL-75669 theme_boost: Remove .navbar-light for BS5 2025-02-14 10:58:36 +01:00
question MDL-85721 qtype: Cope with missing options records 2025-07-01 11:59:17 +01:00
rating MDL-81520 core: Fix test finality 2024-12-11 12:30:23 +08:00
report Merge branch 'MDL-85247-main' of https://github.com/aanabit/moodle 2025-05-26 15:39:31 +02:00
reportbuilder Merge branch 'MDL-85399' of https://github.com/paulholden/moodle 2025-06-19 11:33:31 +07:00
repository Merge branch 'MDL-83350-main' of https://github.com/meirzamoodle/moodle 2025-05-15 12:00:41 +07:00
rss MDL-81520 core: Fix test finality 2024-12-11 12:30:23 +08:00
search MDL-85157 theme_boost: Clean table SCSS styles 2025-05-09 13:46:51 +02:00
sms NOBUG: Add upgrade notes 2025-04-13 09:54:13 +08:00
tag Merge branch 'MDL-83943-main' of https://github.com/meirzamoodle/moodle 2025-05-15 11:45:16 +07:00
theme NOBUG: Add upgrade notes 2025-06-29 16:18:19 +07:00
user MDL-85462 reportbuilder: improve user entity last access reporting. 2025-05-29 15:26:25 +01:00
userpix
webservice MDL-85157 theme_boost: Clean table SCSS styles 2025-05-09 13:46:51 +02:00
.eslintrc
.gherkin-lintrc
.gitattributes MDL-83172 dml: Remove Oracle from LMS 2025-01-13 17:11:55 +07:00
.gitignore MDL-83468 phpunit: Fix various tests after phpunit 10 2025-01-20 16:47:55 +01:00
.jshintignore
.jshintrc
.nvmrc MDL-83814 core: Bump Node to latest LTS 2025-01-12 20:57:44 +08:00
.shifter.json
.stylelintrc
behat.yml.dist
brokenfile.php
composer.json MDL-84828 core: Bump Behat to latest version 2025-03-20 09:03:25 +08:00
composer.lock MDL-84828 core: Bump Behat to latest version 2025-03-20 09:03:25 +08:00
config-dist.php MDL-83518 core: Add nosmsever config to restrict sending SMS 2025-03-25 14:04:33 +11:00
CONTRIBUTING.md
COPYING.txt
draftfile.php
editmode.php
file.php
Gruntfile.js
help.php
help_ajax.php
index.php MDL-82349 courseformat: add reactivity to frontpage topic 2024-11-12 12:02:16 +01:00
install.php MDL-83334 core: Remove deprecated constant E_STRICT 2025-03-04 20:38:04 +01:00
INSTALL.txt
npm-shrinkwrap.json MDL-83814 core: Bump Node to latest LTS 2025-01-12 20:57:44 +08:00
package.json MDL-83814 core: Bump Node to latest LTS 2025-01-12 20:57:44 +08:00
phpcs.xml.dist MDL-83470 core: Bump version in phpcs.xml.dist 2024-11-22 23:48:22 +08:00
phpunit.xml.dist MDL-84355 phpunit: Exclude fixtures from testsuite search 2025-01-29 11:43:40 +08:00
pluginfile.php MDL-83674 Files: pluginfile.php debugging if user not allowed course 2025-02-21 14:13:21 +00:00
r.php MDL-82158 core: Remove uses of cache/lib.php 2024-08-20 15:47:14 +08:00
README.md
security.txt MDL-83160 core: Update security.txt expiry 2025-03-13 20:33:52 +08:00
tokenpluginfile.php MDL-84313 pluginfile: Allow fetching by chunks in cross-site requests 2025-01-23 15:52:35 +01:00
TRADEMARK.txt
UPGRADING.md NOBUG: Add upgrade notes 2025-06-29 16:18:19 +07:00
version.php weekly release 5.1dev 2025-06-29 16:18:19 +07:00

Moodle

The Moodle Logo

Moodle is the World's Open Source Learning Platform, widely used around the world by countless universities, schools, companies, and all manner of organisations and individuals.

Moodle is designed to allow educators, administrators and learners to create personalised learning environments with a single robust, secure and integrated system.

Documentation

Community

moodle.org is the central hub for the Moodle Community, with spaces for educators, administrators and developers to meet and work together.

You may also be interested in:

Installation and hosting

Moodle is Free, and Open Source software. You can easily download Moodle and run it on your own web server, however you may prefer to work with one of our experienced Moodle Partners.

Moodle also offers hosting through both MoodleCloud, and our partner network.

License

Moodle is provided freely as open source software, under version 3 of the GNU General Public License. For more information on our license see