Deleting background image crashes skin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Critical
|
Robert Lyon |
Bug Description
I was testing the new skins feature on Mahara Dev site and found that if I added an image to the skin for background, then later deleted the image from my file repository (I was switching to a different image), the skin becomes unavailable to re-edit because it couldn't find the original image - I had to delete the skin and start again from scratch. What I would expect to happen is that if a skin / theme image is deleted it should switch to the default (no image) or simply display an empty placeholder block to show that there was supposed to be an image file. Being locked out if the image is deleted from the backend makes this a nasty learning experience with the new feature!
Regards, Gordon.
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Hi Gordon,
Thank you for testing out the skins feature in Mahara and thank you for submitting a skin on mahara.dev.
Yes, there needs to be better handling of how skins behave if their background images are removed.
I will try and make a patch to handle this scenario.
Cheers
Robert