Caused by commit 03a9bdc851dcfe114c1676ac55def1e1c5d51970 Bug 24469: Move the new queries to a dedicated ImportBatch subroutine Undefined subroutine &CGI::Compile::ROOT::kohadevbox_koha_acqui_neworderempty_2epl::SetMatchedBiblionumber called at /kohadevbox/koha/acqui/neworderempty.pl line 183
Created attachment 117501 [details] [review] Bug 27828: (bug 24469 follow-up) Add missing import Caused by commit 03a9bdc851dcfe114c1676ac55def1e1c5d51970 Bug 24469: Move the new queries to a dedicated ImportBatch subroutine Undefined subroutine &CGI::Compile::ROOT::kohadevbox_koha_acqui_neworderempty_2epl::SetMatchedBiblionumber called at /kohadevbox/koha/acqui/neworderempty.pl line 183 Test plan: Create a new order from a staged file, select "Add order" next to a title
Created attachment 117503 [details] [review] Bug 27828: (bug 24469 follow-up) Add missing import Caused by commit 03a9bdc851dcfe114c1676ac55def1e1c5d51970 Bug 24469: Move the new queries to a dedicated ImportBatch subroutine Undefined subroutine &CGI::Compile::ROOT::kohadevbox_koha_acqui_neworderempty_2epl::SetMatchedBiblionumber called at /kohadevbox/koha/acqui/neworderempty.pl line 183 Test plan: Create a new order from a staged file, select "Add order" next to a title Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Good catch! Just noting for anyone reading this bug because they've run into this error, it seems to be working fine if you use the checkboxes and Save button to add titles to your basket rather than clicking that Add Order link. That said, I'd honestly never noticed that Add Order button, so I'm just assuming it does the same thing as checking the box for a title and saving your order that way.
(In reply to Andrew Fuerste-Henry from comment #3) > Good catch! Just noting for anyone reading this bug because they've run into > this error, it seems to be working fine if you use the checkboxes and Save > button to add titles to your basket rather than clicking that Add Order link. > That said, I'd honestly never noticed that Add Order button, so I'm just > assuming it does the same thing as checking the box for a title and saving > your order that way. You can only use the link if there is a match, that's the difference between both actions.
Created attachment 117559 [details] [review] Bug 27828: (bug 24469 follow-up) Add missing import Caused by commit 03a9bdc851dcfe114c1676ac55def1e1c5d51970 Bug 24469: Move the new queries to a dedicated ImportBatch subroutine Undefined subroutine &CGI::Compile::ROOT::kohadevbox_koha_acqui_neworderempty_2epl::SetMatchedBiblionumber called at /kohadevbox/koha/acqui/neworderempty.pl line 183 Test plan: Create a new order from a staged file, select "Add order" next to a title Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Clear and simple fix, works as expected. Passing QA
Pushed to master for 21.05, thanks to everybody involved!
Pushed to 20.11.x for 20.11.04
*** Bug 27913 has been marked as a duplicate of this bug. ***
Pushed to 20.05.x for 20.05.10
Missing dependencies for 19.11.x, not affected, no backport.
Looks like bug 24469 also causes this error when populating your basket via z39.50, though this patch appears to fix that, too.