mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #22200
[Bug 1354222] Re: Files within a group aren't deleted after deleting the group
Aaron.
1) We are working on this as a 2) part of the cronjob.
We decided not to assign the files uploaded in a group to a certain user, instead we will make the cron delete them, IF and only IF they aren't used in a view any longer.
The reason we don't want to assign the file to a user is that if there
is more than one user who uses the group-file in their view and the
'owner' deletes it the other user will 'lose' the file in their view.
In the future we might consider assigning the file to a user if he is
the only one using the file and the file added doesn't exceed the their
quota.
I'll keep you updated
--
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