]> git.koha-community.org Git - koha.git/commit
Bug 29243: Correct call when adding items from staged records
authorNick Clemens <nick@bywatersolutions.com>
Thu, 14 Oct 2021 11:30:21 +0000 (11:30 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 22 Oct 2021 15:06:59 +0000 (11:06 -0400)
commit4a1a3b3f7d390fc78baa89b411f37eac3ae6c730
tree7dd22d581ad2b012547087329726ceed521dbc61
parent2b93696da19a8a155ee5230b245827c077f8e520
Bug 29243: Correct call when adding items from staged records

To test:
1 - Populate system preference  NewItemsDefaultLocation
2 - Stage a file of marc records
3 - Create an acquisitions basket with 'AcqCreateItems' set to 'ordering'
4 - Attempt to add to basket from your staged file
5 - You get a 500 error, and in the logs:
    Can't use string ("") as a HASH ref while "strict refs" in use at /usr/share/koha/lib/C4/Items.pm line 1605.
6 - Apply patch
7 - Repeat #4
8 - Success!

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Items.pm
acqui/addorderiso2709.pl