mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #49157
[Bug 1782729] Re: Uploading new image as skin background gives error
[BUG] - Profile images should not be used as background images for skins
Summary: When adding an image to be used as background for a skin, The
user sees the folder created when user uploads an image for thier
profile picture. Selecting this image will cause an error message to be
displayed "Mahara: Site unavailable"
Test Steps :
1. User browse to Main menu > Portfolio > Skins - create a new skin
2. User click the Background tab
3. User click the Add a File button
4. User select the folder that contains profile picture images
Actual result: after selecting a profile picture image and clicking save
button, an error message is displayed as follows "Mahara: Site
unavailable"
Expected result: The folder created when a user uploads a profile
picture image should not be displayed when a user adds a file to be used
for a background image for a skin.
Catalyst QA
NOTE: Dev has said that the artefact chooser for skins is not the same as is used in the rest of the Mahara site
--
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/1782729
Title:
Uploading new image as skin background gives error
Status in Mahara:
New
Bug description:
Hello
I was testing in preparation for an upgrade from v 17.04 to 18.04 and
found that I couldn't upload a new image as a background to a skin.
I've tried on demo.mahara.org and this is what I've found:
I created a new skin. Went into the Background tab and clicked on Add
a File. Moving between folders brings me back to the Background tab;
I would expect it to list the files in the selected folder. This
happens even if there are image files in the selected folder.
Clicking on Add a File again then shows the list of files and I can
then select an image file and close the dialog box. I am taken back
to the Background tab and the image file is displayed.
Clicking on Save at that point gives:
Mahara Demo: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system
Suspect there's an explanation for this. If I first upload an image
file (256x256, PNG, 34k) into my Content-Files area, I can go through
the above process select the image file and it saves OK. The image
files I had tried previously on the demo site was percy.png which is a
profile image, 11k, PNG, 100x100 but this error has occurred
consistently on our dev site regardless of the image selected.
Regards
Marion
Browser Firefox 61.0.1
Windows 7
Not sure of db on demo.mahara.org; I think our dev site has MySQL
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1782729/+subscriptions
References