Bug 21592 - When adding to basket from a file and using MarcFieldsToOrder items are not added to basket if missing funds
Summary: When adding to basket from a file and using MarcFieldsToOrder items are not a...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-17 20:03 UTC by Nick Clemens
Modified: 2018-10-22 20:49 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens 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?