Bug 16904

Summary: confirming hold throws mysql error
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: critical    
Priority: P5 - low CC: gmcharlt, kyle, mirko
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:

Description Nicole C. Engard 2016-07-12 15:28:28 UTC
I upgraded to master this morning and when I confirmed a hold after checking in an item I got the following error:

SQL::Abstract::puke(): [SQL::Abstract::__ANON__] Fatal: unexpected operator 'cancellationdate' with undef operand at /home/vagrant/kohaclone/Koha/Objects.pm line 168

I got it with two different items and a colleague got the same error on different data.
Comment 1 Mirko Tietgen 2016-07-18 09:55:46 UTC
I just found that too.

What I did is

- place holds on item
- check out item to someone else (override holds)
- check in item
- confirm hold

Same error as Nicole:

SQL::Abstract::puke(): [SQL::Abstract::__ANON__] Fatal: unexpected operator 'cancellationdate' with undef operand at /home/mirko/koha/Koha/Objects.pm line 168
Comment 2 Kyle M Hall 2016-07-19 17:16:17 UTC

*** This bug has been marked as a duplicate of bug 16942 ***