mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #54760
[Bug 1834470] Re: Profile picture generates error when uploaded to Image Gallery
Commit hash: 99c885321e66eb386f744b0c01d0287a16ce89b6
Environment tested: Master
Browser tested: Chrome
Theme used: Raw
PRECONDITIONS:
------------------------
1) Mahara User3 exists (no roles)
2) User has a few image files in their profile already
TEST STEPS:
------------------------
1) Log in as Mahara User3
2) Browse to User menu > Profile pictures
3) Upload an image from your local files to your profile picture
4) Set it as your default
5) Verify that the image is displayed as your user profile image ✔
6) Verify that there are no Console errors ✔
7) Create a portfolio page
8) Add an image gallery block to the page
9) In the modal window that opens select The following
a) Image selection = "Choose individual images to display"
b) Select a few images
10) Open the folder labeled "Images"
11) Select the Uploaded profile picture in the previous steps
12) Press save
13) Verify that the image gallery block contains all the images you selected ✔
14) Verify that there are no Console errors ✔
15) Add an image block to the page
16) Open the folder labeled "Images"
17) Select the Uploaded profile picture in the previous steps
18) Press save
19) Verify that the image block contains the image you selected ✔
20) Verify that there are no Console errors ✔
Catalyst QA Approved ✔
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1834470
Title:
Profile picture generates error when uploaded to Image Gallery
Status in Mahara:
In Progress
Status in Mahara 18.04 series:
In Progress
Status in Mahara 18.10 series:
In Progress
Status in Mahara 19.04 series:
In Progress
Status in Mahara 19.10 series:
In Progress
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://mahara/artefact/file/js/filedropzone.js?v=8112:36:9
l@http:/mahara/js/jquery/jquery.js?v=8112:2:29375
a/</c< http://mahara/js/jquery/jquery.js?v=8112:2:29677
undefined jquery.js:2:30930
ReferenceError: upload_max_filesize is not defined
• Expected result: image is saved to gallery
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1834470/+subscriptions
References