← Back to team overview

mahara-contributors team mailing list archive

[Bug 1782729] Re: Uploading new image as skin background gives error

 

Preconditions: 
-------------------
1. Testing was done on the following 
--- a. URL = demo.mahara.org
--- b. Firefox 61.0.1 Windows 7
3. User has multiple folders for their account
4. User has saved a profile image - NOTE: this will create a folder and save the image in it
5. User has folder with uploaded images in it 

Test Script: upload an image to be used as backgrounds image on portfolio page
-------------------
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 a folder 
5. Confirm that when a folder is selected - the folder contents are displayed ✘
6. Select the image from the folder which contains the profile image used when setting up a profile image for your account by reopening the modal window
7. Click the save button 
8. Confirm that the image is displayed  as the background image for the shin ✘

-- 
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