← Back to team overview

mahara-contributors team mailing list archive

[Bug 1240244] Re: Deleting an image used for a skin should give a popup warning

 

After delete a background image of a skin, we also need to update the
skin thumbnail

** Changed in: mahara
     Assignee: (unassigned) => Son Nguyen (ngson2000)

** Changed in: mahara
       Status: Triaged => In Progress

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

Title:
  Deleting an image used for a skin should give a popup warning

Status in Mahara ePortfolio:
  In Progress

Bug description:
  If you have a skin with a background image you should get a warning if
  you try to delete this image from Content -> files.

  Currently there is a warning that exist if you try to delete a file
  that is used in a view.

  so what we will need to do is mimic that functionality to check if the
  file is used by a skin.

  the tricky bit comes in with skins using a serialized blob for storing
  the artefact id used, so it's not as simple as checking against a
  table column as it is for the current checks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1240244/+subscriptions


References