-
Bug
-
Resolution: Fixed
-
Minor
-
2.1
The name of file shows as undefined after selecting a file from "my private files" and closing the file picker. The file ends up working correctly, the name is incorrect. I have tried this in restoring course backups. Adding an item in the Image Gallery type database activity and others. I have included a screen shot when add an image to the Image Gallery type database activity.
Replication instructions:
- Log in to http://qa.moodle.net/ as a teacher or a student.
- Go to your My Private files and upload an image and same changes.
- Go to the Moodle features demo (http://qa.moodle.net/course/view.php?id=2)
- And then the image gallery database activity(http://qa.moodle.net/mod/data/view.php?id=17)
- Add entry
- When choosing an image to attach, add the image from your my private files area
- Close file picker
file name is undefined instead of actual file name
This is before saving the entry