← Back to team overview

mahara-contributors team mailing list archive

[Bug 1856260] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10676
Committed: https://git.mahara.org/mahara/mahara/commit/b8d26c1fe073b7dc4c0f9f7c8ea8489308b879b8
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit b8d26c1fe073b7dc4c0f9f7c8ea8489308b879b8
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date:   Wed Dec 11 16:51:56 2019 +1300

Bug 1856260: Delete elements when deleting the parent (standard &
element)

- When deleting a standard, then delete all the elements that have it as parent
- When deleting an element, then delete all the elements that have it as parent
- it works when multiple elements depend on a deleted parent
- it gets called recursively: if an element was deleted because its parent
was deleted, then delete all the elements also depending on it

- The message displayed when removing one node of the form is hardcoded in the library
I've changed to
"Are you sure you want to remove this item? If there is any other item depending on it, it will be removed too."
since it's had to see if we are deleting a standard or a standard element.

behatnotneeded
Change-Id: Ifc7d7e0e491c398262bd603ea8f348770a952916

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

Title:
  SmartEvidence framework editor improvements

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

Bug description:
  The json editor to create and edit SmartEvidence frameworks, still has
  bugs that need fixing

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


References