Bug 21592

Summary: When adding to basket from a file and using MarcFieldsToOrder items are not added to basket if missing funds
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: barbara.johnson, jonathan.druart, kyle
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 Nick Clemens (kidclamp) 2018-10-17 20:03:12 UTC
Test plan:

1 - Edit the MarcItemFieldsToOrder and MarcFieldsToOrder syspref. For example:
MarcItemFieldsToOrder
homebranch: 975$a
holdingbranch: 975$b
itype: 975$c
nonpublic_note: 975$d
public_note: 975$e
loc: 975$f
ccode: 975$g
price: 975$h
replacementprice: 975$i
itemcallnumber: 975$j
notforloan: 975$m
uri: 975$n
copyno: 975$o


MarcFieldsToOrder
price: 975$h

2 - Stage your order file from vendor. (Test file : https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57715 )
3 - Add to basket from staged file
4 - Values are filled but not budget (ensure you don't have the one in file defined)
5 - Check the box and save
6 - You are returned to empty basket
7 - View the record - items have been created
Comment 1 Jonathan Druart 2018-10-22 20:49:36 UTC
Something in the logs?