Created attachment 67239 [details] [review] Bug 19350 - Holds without link in 773 trigger SQL::Abstract::puke Test: 1. find bibio without items which has something in field 773 (for us, it's article) but doesn't have 0 or 9 (host item entry) 2. click on hold in left menu 3. verify application error 4. apply patch and verify that it works Current status: NEW
Created attachment 67311 [details] [review] Bug 19350 - Holds without link in 773 trigger SQL::Abstract::puke Test: 1. find bibio without items which has something in field 773 (for us, it's article) but doesn't have 0 or 9 (host item entry) 2. click on hold in left menu 3. verify application error 4. apply patch and verify that it works Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Please write tests.
Unfortunately, my rapidly progressing cataract don't allow me to spend sufficient time to learn how to write code tests for this bug. I was hoping that test scenario will be enough. Sorry.
Created attachment 67562 [details] [review] Bug 19350: Add tests
(In reply to Dobrica Pavlinusic from comment #4) > Unfortunately, my rapidly progressing cataract don't allow me to spend > sufficient time to learn how to write code tests for this bug. I was hoping > that test scenario will be enough. Sorry. Thanks for your patches Dobrica, good to know you are still around :) Take care.
Pushed to master for 17.11, thanks to everybody involved!
Pushed to 17.05.x, will be in 17.05.05.
This patch has been pushed to 16.11.x and will be in 16.11.13.
Pushed to 16.05.x, for 16.05.18 release