-
Bug
-
Resolution: Fixed
-
Minor
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
MDL-42566_master -
- Create a database activity.
- Create a picture field.
- Click on 'Add entry'.
- Rename a .txt file to a .jpg file and upload.
- You will get the following error -
Unknown exception related to local files (File is not an image)
|
line 291 of /mod/data/field/picture/field.class.php: call to debugging()
|
line 254 of /mod/data/field/picture/field.class.php: call to data_field_picture->update_thumbnail()
|
line 234 of /mod/data/edit.php: call to data_field_picture->update_content()
|
- blocks
-
MDLQA-6167 CLONE - Moodle handles uploading non-picture files into a picture field in a Database activity.
-
- Passed
-