Files within a group aren't deleted after deleting the group
Bug #1354222 reported by
Moises Burgos
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned | ||
1.10 |
Won't Fix
|
Medium
|
Unassigned | ||
1.9 |
Won't Fix
|
Medium
|
Unassigned | ||
15.04 |
Fix Released
|
Medium
|
Unassigned | ||
15.10 |
Fix Released
|
Medium
|
Unassigned | ||
16.04 |
Fix Released
|
Medium
|
Unassigned | ||
16.10 |
Fix Released
|
Medium
|
Unassigned |
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_
Is this a bug or is it an intended behaviour? If it is a bug I could provide a patch for review.
Cheers,
Moises
information type: | Public → Public Security |
information type: | Public Security → Public |
Changed in mahara: | |
assignee: | nobody → Lars (lars-mogwitz) |
status: | Confirmed → In Progress |
Changed in mahara: | |
milestone: | 15.04.0 → 15.04.1 |
Changed in mahara: | |
milestone: | 15.04.1 → 15.10.0 |
Changed in mahara: | |
milestone: | 16.04.1 → none |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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