Profile picture generates error when uploaded to Image Gallery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Anupama Dharmajan | ||
18.04 |
Fix Released
|
High
|
Unassigned | ||
18.10 |
Fix Released
|
High
|
Unassigned | ||
19.04 |
Fix Released
|
High
|
Unassigned | ||
19.10 |
Fix Released
|
High
|
Anupama Dharmajan |
Bug Description
Mahara: 19.04.0
OS: Linux 16.04
DB: Postgres
Browser: FF
When a profile picture is uploaded to an image gallery, an error is generated in the console and the image gallery hangs.
To replicate:
• Upload a profile picture to a user account - this will add the image to the files collection under images
• In a page, add an image gallery with settings:
- Image selection = Choose individual images to display
- Select the 'Uploaded profile picture' under the images directory
- Save
• Result: Console error
jQuery.Deferred exception: upload_max_filesize is not defined http://
l@http:/mahara/
a/</c< http://
undefined jquery.js:2:30930
ReferenceError: upload_max_filesize is not defined
• Expected result: image is saved to gallery
Changed in mahara: | |
assignee: | nobody → Anupama Dharmajan (anupamadharmajan) |
Patch for "master" branch: https:/ /reviews. mahara. org/10177