Bug 4277

Summary: budget planning refreshes funny
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: AcquisitionsAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: major    
Priority: P5 - low CC: chris, jonathan.druart, koha, tomascohen, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 4277: Display the correct budget planning after saving
[Signed-off] Bug 4277: Display the correct budget planning after saving
[PASSED QA] Bug 4277: Display the correct budget planning after saving

Description Chris Cormack 2010-05-21 01:25:17 UTC


---- Reported by nengard@gmail.com 2010-02-26 16:29:16 ----

after saving planning on a budget it refreshed the screen with another budget - not the one i was editing

URL Before: http://localhost:8080/cgi-bin/koha/admin/aqplan.pl?budget_period_id=3&authcat=MONTHS

After hitting save URL: http://localhost:8080/cgi-bin/koha/admin/aqplan.pl

Looks like it's loosing the budget id info.



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

This bug was previously known as _bug_ 4277 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4277

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.

Comment 1 Owen Leonard 2011-05-17 16:55:59 UTC
Confirmed this is still in master.
Comment 2 Marc Véron 2012-07-26 14:03:36 UTC
Confirmed, still same behaviour.
Comment 3 Pete Edwards 2014-10-17 13:37:48 UTC
Still apparent in 3.16.03.000
Comment 4 Jonathan Druart 2015-03-24 15:25:24 UTC Comment hidden (obsolete)
Comment 5 Marc Véron 2015-03-24 16:13:09 UTC Comment hidden (obsolete)
Comment 6 Katrin Fischer 2015-03-24 20:37:28 UTC
Created attachment 37198 [details] [review]
[PASSED QA] Bug 4277: Display the correct budget planning after saving

The budget_period_id is not pass to the script, so after saving the
budget planning, the planning for the first active budget is displayed.

Test plan:
1/ Edit a budget planning
2/ Save
3/ You should see the budget planning you were editing

Patch behaves as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Thx!
Comment 7 Tomás Cohen Arazi (tcohen) 2015-03-31 17:19:04 UTC
Patch pushed to master.

Thanks Joubu!
Comment 8 Chris Cormack 2015-04-06 08:55:30 UTC
Pushed to 3.18.x will be in 3.18.6