Bug 29237 - When deleting funds from an inactive budget, the results page returns to a different budget
Summary: When deleting funds from an inactive budget, the results page returns to a di...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal with 10 votes (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-13 21:42 UTC by Valerie
Modified: 2022-01-09 01:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valerie 2021-10-13 21:42:18 UTC
In Administration/Budgets, I am in the "inactive budgets" tab, deleting funds under a specific budget. (In this instance, budget period #29.) When I select "delete" for the fund, it opens a new page to verify that I want to delete this budget. After it completes the deletion, it goes to a different budget, an active budget. (In this case, budget period #30). I confirmed that the fund was deleted as expected from the inactive budget, but with the page going to a different budget when complete, a user could easily delete something unintended.
Comment 1 Katrin Fischer 2022-01-09 01:01:20 UTC
Confirmed on master.

For the sample database:

1) Go to Administration > Budgets
2) Duplicate the existing budget and set it to inactive
4) Select the inactive budget and click on it, to see linked funds
5) Delete a fund
6) Verify you are now on the active budget, where the fund is still there

As Valerlie says this is quite dangerous and might easily lead people to delete the wrong funds.