← Back to team overview

mahara-contributors team mailing list archive

[Bug 1852584] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10670
Committed: https://git.mahara.org/mahara/mahara/commit/6c07d01255aefb317a9e2b3cfb2f3d106d9ef794
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    19.04_STABLE

commit 6c07d01255aefb317a9e2b3cfb2f3d106d9ef794
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date:   Tue Dec 3 11:22:06 2019 +1300

Bug 1852584: delete a group collection if already copied to existing
users

switched order of deletion of records
because of foreign key constraint violation

behatnotneeded

Change-Id: I7eaed8a6388a7c51272bc21dfe13e51ae0207077
(cherry picked from commit 7a8a32bf34eaf71f4e96749e984aeccaa401307c)

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

Title:
  Cannot delete a group collection if already pushed to users

Status in Mahara:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed
Status in Mahara 20.04 series:
  Fix Committed

Bug description:
  As a group admin I should be able to delete a collection in a group,
  but for some reason I can't if I have pushed it to group users via
  "Copy for existing group members". Deletion works fine if I haven't
  already shared it.

  To replicate,

  - In a group, set up a collection and in the access settings select "Copy for existing group members"
  - Then go to the group's pages and collections page
  - Then go to 'More options' on the collection (bottom right)
  - Then select the delete/bin icon and accept the usual 'pages won't be deleted' message

  You then get an error message:

  Mahara: Site unavailable
  A nonrecoverable error occurred. This probably means you have encountered a bug in the system

  *******************************
  I discovered this in a new client's out of the box mahara 19.04.1 and can replicate this in our own 19.04 demo site.

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


References