← Back to team overview

mahara-contributors team mailing list archive

[Bug 1354222] Re: Files within a group aren't deleted after deleting the group

 

Hi Robert,

this bug also works if you do nothing with the files:

1. create a group
2. upload a file to the group
3. find the file in /maharadata
4. delete the group

The file remains in the system even after some manual reloads of the
cron. It appears in 'artefact_file_files'. Is this table meant to
collect the garbage files?

best regards,
Christian



** Changed in: mahara
       Status: New => Confirmed

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

Title:
  Files within a group aren't deleted after deleting the group

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  If you create a group that contains any files (e.g. image, file) and
  then delete that group you should see a warning message. In addition,
  the files are not deleted although the group is (or marked as deleted)

  To reproduce (Mahara master):

  1.- Click on the 'Group' tab and create a group
  2.- Click on the 'Files' tab and add a file or image
  3.- Delete the group and you should see the warning. To check that the added files/images weren't deleted you can check out the 'artefact_file_files' table.

  Is this a bug or is it an intended behaviour? If it is a bug I could
  provide a patch for review.

  
  Cheers,
  Moises

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


References