[Bug 17172] New: Cancelling an order before basket is closed leaves aqorders.status set to 'ordered'.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 Bug ID: 17172 Summary: Cancelling an order before basket is closed leaves aqorders.status set to 'ordered'. Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: barton@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Deleting an order before a basket is closed sets aqorders.datecancellationprinted, but does *not* change aqorders.orderstatus, which stays at 'new'. When the basket is closed, aqorders.orderstatus is set to 'ordered' I can't tell if this is an oversight, or an attempt to distinguish between orders cancelled before the basket is sent to the vendor (i.e. orders abandoned by the library) and orders cancelled after the basket is closed (cancelled by the vendor) -- See Bug 10918. To replicate: Prerequisites: Existing vendor, Budget, Fund, set up an open basket. 1/ Place an order 2/ Cancel the order Run the following query: SELECT ordernumber, biblionumber, orderstatus, datecancellationprinted FROM aqorders WHERE orderstatus IN ('ordered', 'new') AND datecancellationprinted IS NOT NULL You will see orders with orderstatus set to 'new', and datecancellationprinted with today's date. 3/ Close the basket Run the query again, orderstatus for the new orders will now be 'ordered'. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hm, it looks like a bug to me as we have a specific cancelled status. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I just retested this on current master and it worked alright: - create basket - create order line (status: new) - cancel order line (status: cancelled) Which version did you report this against? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Cancelling an order before |Cancelling an order before |basket is closed leaves |basket is closed leaves |aqorders.status set to |aqorders.status set to |'ordered'. |'ordered' Severity|enhancement |normal --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Katrin Fischer from comment #2)
I just retested this on current master and it worked alright:
- create basket - create order line (status: new) - cancel order line (status: cancelled)
Which version did you report this against?
Huh. You are right, it's all good until you close the basket. Then the cancelled order is turned into 'ordered' -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 Marjorie Barry-Vila <marjorie.barry-vila@ccsr.qc.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marjorie.barry-vila@ccsr.qc | |.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 Fiona Borthwick <fiona.borthwick@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fiona.borthwick@ptfs-europe | |.com --- Comment #4 from Fiona Borthwick <fiona.borthwick@ptfs-europe.com> --- One of our customers has also reported this but added the following detail... If you reopen the basket then the ordered status changes to New... this is despite the order having been cancelled. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |severine.queune@bulac.fr -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 Patrick Robitaille <patrick.robitaille@ccsr.qc.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick.robitaille@ccsr.qc. | |ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17172 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Fiona, I think the last bit is covered by the new patch on bug 19120. *** This bug has been marked as a duplicate of bug 19120 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org