mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #20022
[Bug 1354222] Re: Files within a group aren't deleted after deleting the group
Hi Moises,
One thing to test would be if a group has some files and the group
creates a page and uses those files on the page (for example has a
'files to download' block) and then shares that page with users not in
group and allows those users to copy page. Do those users need to have
the group files to exist? or do they make copies of the files?
If they copy the files to their own content -> files area then it might
be fine to delete the group files once the group is deleted.
Also something to check is if the group files are used in the group's
forum discussions - do those files need to hang around after group is
deleted?
I don't have the answer to these questions at the moment so some
investigation will need to be done
Robert
--
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:
New
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