Summary: | Receive order fails if no "authorised_by" value | ||
---|---|---|---|
Product: | Koha | Reporter: | Barry Cannon <bc> |
Component: | Acquisitions | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Josef Moravec <josef.moravec> |
Severity: | major | ||
Priority: | P5 - low | CC: | fridolin.somers, jonathan.druart, josef.moravec, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 17829 | ||
Bug Blocks: | |||
Attachments: |
Bug 20303: Do not explode when receiving an order if authorisedby not set
Bug 20303: Do not explode when receiving an order if authorisedby not set Bug 20303: Do not explode when receiving an order if authorisedby not set |
Description
Barry Cannon
2018-02-27 13:03:46 UTC
Created attachment 72281 [details] [review] Bug 20303: Do not explode when receiving an order if authorisedby not set Barry, do you have more info about how it happens? I guess it can happen on a very old DB (before aqbaskets.authorisedby) or if the librarian record has been deleted. Yes, this manifested itself after an upgrade from an older version so it could be that this might not be possible if starting acquisitions from current. Created attachment 72522 [details] [review] Bug 20303: Do not explode when receiving an order if authorisedby not set Reproduced by deleting user and patron to notify before clicking Receive. Patch works. Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Created attachment 72536 [details] [review] Bug 20303: Do not explode when receiving an order if authorisedby not set Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Pushed to master for 18.05, thanks to all for your hard work. Awesome work all! Pushed to stable for 17.11.04 |