[Koha-bugs] [Bug 12905] Deleting parent fund will orphan child funds, leaving them un-editable.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 12 20:13:42 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12905
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #34133|0 |1
is obsolete| |
--- Comment #9 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 34364
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34364&action=edit
[PASSED QA] Bug 12905: funds with children could not be deleted
The interface should prevent to delete funds with children.
Otherwise the relationship is broken and problems occur:
1/ You don't see the orphan fund in the fund list
2/ You cannot edit the orphan fund amount ('Fund amount exceeds parent
allocation').
This patch:
- adds a JS check, template side
- adds a check in the perl script (should never be true)
- adds an updatedatabase check, in order to alert users with inconsistent data.
Test plan:
Verify you are not allow to delete a fund with children.
Signed-off-by: Paola Rossi <paola.rossi at cineca.it>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list