← Back to team overview

mahara-contributors team mailing list archive

[Bug 1810438] Re: Files are removed from the timeline when deleted

 

Yes, that is a concern that we'll need to discuss and find a solution
for. One possibility would be that a user is alerted that their file
that they are deleting would be deleted from one or more versions of
their portfolio and ask if they want to proceed or not. If they do, then
a placeholder would need to be put onto the version to state that the
file was deleted. Removing it silently is not good when it is assumed
that the version does contain the portfolio as it was seen at the
specific time in the past.

Another option could be that files that only appear in versions do not
count against the user quota.

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

Title:
  Files are removed from the timeline when deleted

Status in Mahara:
  Confirmed
Status in Mahara 18.10 series:
  Confirmed
Status in Mahara 19.04 series:
  Confirmed

Bug description:
  When a file is placed on a page, e.g. via the "Files to download"
  block and the state saved to the timeline, it does not appear on the
  timeline once the file has been deleted from the Files area though it
  should still appear on the Timeline.

  1. User A has a page with the "Image" block and the "Files to download" block. The download block contains both the image and also another file.
  2. User A saves that state to the timeline.
  3. User A deletes the image that is used in the "Image" block and the "Files to download" block from their file repository.
  Expected result: The image is still displayed in the timeline.
  Actual result: The image is not displayed in the timeline neither in the "Image" block nor the "Files to download" block thus not rendering it a true respresentation of the state of that page at that time.

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


References