[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
Thu Dec 4 18:31:35 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12905

Paola Rossi <paola.rossi at cineca.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33474|0                           |1
        is obsolete|                            |

--- Comment #8 from Paola Rossi <paola.rossi at cineca.it> ---
Created attachment 34133
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34133&action=edit
Bug 12905: funds with children could not be deleted

On master  (head 12123) the problem was still present at my tests.
I deleted the parent fund/aqbudget and I still saw the child fund using the
MySQL client.
In intranet, the child fund was not listed anymore from "Funds" and it could be
seen only by this link [X is the budget_id of the aqbudget]:
</koha/admin/aqbudgets.pl?op=add_form&budget_id=X>

I've applied the patch (head 12123).

The patch needed a trivial rebase (on 3.19?).

On a parent fund, the "Delete" action:
was present in grey,
warned "This fund has children." as mouse moved on it;
and prevented me from deleting the fund by the message:
"This fund has children. It cannot be deleted." when selected.

On upgrading the database I saw the check alerting me about my inconsistent
data, just as required.

Everything seemed OK to me, I pass the patch to "Signed Off" status.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list