-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.7, 2.3.4, 2.4.1
-
None
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
See https://moodle.org/mod/forum/discuss.php?d=191506&parent=964908
the code is failing if the same image is used several times in the same field of the same question because in store_file_for_text_field function create_file_from_pathname is called several times with the exact same parameters.
The solution is to check if file exists before trying to create it.
- has a non-specific relationship to
-
MDL-37967 Improve XML question import format handling of duplicated files
- Closed