Bug 4292 - deleting a budget leaves funds orphaned
Summary: deleting a budget leaves funds orphaned
Status: RESOLVED DUPLICATE of bug 12905
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: PC All
: P4 major (vote)
Assignee: Bugs List
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-02 03:26 UTC by Nicole C. Engard
Modified: 2014-11-10 09:54 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
all budgets deleted (22.44 KB, image/png)
2010-03-02 15:30 UTC, Chris Cormack
Details
funds listed (36.27 KB, image/png)
2010-03-02 15:30 UTC, Chris Cormack
Details
order without budget (49.70 KB, image/png)
2010-03-02 15:30 UTC, Chris Cormack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:25:27 UTC


---- Reported by nengard@gmail.com 2010-03-02 15:26:54 ----

When you delete a budget (cgi-bin/koha/admin/aqbudgetperiods.pl?op=delete_confirm&budget_period_id=3) there are no warnings - but if you delete a budget the funds are orphaned - meaning that the funds remain (cgi-bin/koha/admin/aqbudgets.pl) without being attached to a budget anymore.  This means that when you go to place an order there are no warnings saying that you need to define a budget and the budget pull down is empty on the order page (/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=1&basketno=14&biblionumber=40).

Something needs to be in place to prevent the deletion of things that will lead to things being broken.



---- Additional Comments From nengard@gmail.com 2010-03-02 15:30:12 ----

Created an attachment
all budgets deleted

cgi-bin/koha/admin/aqbudgetperiods.pl?op=delete_confirm&budget_period_id=3



---- Additional Comments From nengard@gmail.com 2010-03-02 15:30:33 ----

Created an attachment
funds listed

cgi-bin/koha/admin/aqbudgets.pl



---- Additional Comments From nengard@gmail.com 2010-03-02 15:30:59 ----

Created an attachment
order without budget

/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=1&basketno=14&biblionumber=40



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:25 UTC  ---

This bug was previously known as _bug_ 4292 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4292
Imported an attachment (id=1985)
Imported an attachment (id=1986)
Imported an attachment (id=1987)

Actual time not defined. Setting to 0.0
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
The original submitter of attachment 1985 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1986 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1987 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.

Comment 1 Mathieu Saby 2013-09-17 18:56:25 UTC
I think it is still a problem (it happends in my library). If so, I will make a patch for that.

M. Saby
Comment 2 Mathieu Saby 2014-09-10 22:10:43 UTC
I won't work on that

Mathieu
Comment 3 Jonathan Druart 2014-11-10 09:54:51 UTC
Patch submitted on bug 12905.

*** This bug has been marked as a duplicate of bug 12905 ***