Summary: | Argument 'booksellerid' not properly handled in orderreceive.pl | ||
---|---|---|---|
Product: | Koha | Reporter: | Jacek Ablewicz <abl> |
Component: | Acquisitions | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | critical | ||
Priority: | P5 - low | CC: | brendan, fridolin.somers, gmcharlt, jonathan.druart, veron |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10613 | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 10613 | ||
Attachments: |
Bug 11755: SearchOrders does not return booksellerid
Bug 11755: SearchOrders does not return booksellerid [Signed-off] Bug 11755: SearchOrders does not return booksellerid Bug 11755: SearchOrders does not return booksellerid Bug 11755: SearchOrders does not return booksellerid |
Description
Jacek Ablewicz
2014-02-13 12:40:11 UTC
Created attachment 25834 [details] [review] Bug 11755: SearchOrders does not return booksellerid The SearchOrders routine should return the booksellerid. Booksellerid was returned before bug 10723. Quick test plan: Go on orderreceive.pl and verify that the vendor link is correct. (In reply to Jonathan Druart from comment #1) > Created attachment 25834 [details] [review] [review] > Bug 11755: SearchOrders does not return booksellerid > > The SearchOrders routine should return the booksellerid. > > Booksellerid was returned before bug 10723. > Patch does resolve all the issues mentioned; I'm a little worried about an impact it will have on issue 2), though.. Situation regarding tax recalculation code in finishreceive.pl seems to be somehow like that: - in 3.10 & 3.12 branches, this code block was, and still is working like intended, - it got broken in 3.14 and up (since bug 10723) resulting in price values in all newly received orders being inconsistently saved in the database (at least for those cases where listincgst xor invoiceincgst != 1) ? As a side effect, some bug reports currently sitting in the queue which regard various problems with tax calculations in Koha will probably need to be retested / reevaluated. Still, IMO pushing this patch first (and ASAP) will be a huge change in the right direction. I wonder if there may be some way to retroactively correct wrongly calculated price values which may already got stored in aqorders table, for those people using 3.14 right now in production environment? Created attachment 25885 [details] [review] Bug 11755: SearchOrders does not return booksellerid The SearchOrders routine should return the booksellerid. Booksellerid was returned before bug 10723. Quick test plan: Go on orderreceive.pl and verify that the vendor link is correct. Created attachment 25894 [details] [review] [Signed-off] Bug 11755: SearchOrders does not return booksellerid The SearchOrders routine should return the booksellerid. Booksellerid was returned before bug 10723. Quick test plan: Go on orderreceive.pl and verify that the vendor link is correct. Followed test plan. Vendor link is now correct. Signed-off-by: Marc Véron <veron@veron.ch> Jonathan - tests failed. There are a lot of new additions to the Acquisitions.t Besides that - the patch does do what it advertize - so once tests past :) Created attachment 26078 [details] [review] Bug 11755: SearchOrders does not return booksellerid The SearchOrders routine should return the booksellerid. Booksellerid was returned before bug 10723. Quick test plan: Go on orderreceive.pl and verify that the vendor link is correct. Followed test plan. Vendor link is now correct. Signed-off-by: Marc Véron <veron@veron.ch> Last patch rebased. Created attachment 26121 [details] [review] Bug 11755: SearchOrders does not return booksellerid The SearchOrders routine should return the booksellerid. Booksellerid was returned before bug 10723. Quick test plan: Go on orderreceive.pl and verify that the vendor link is correct. Followed test plan. Vendor link is now correct. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Pushed to master. Thanks, Jonathan! Pushed to 3.14.x, will be in 3.14.07 |