Bug 38757 - Adding order from a staged file - "Some required subfields are unset"
Summary: Adding order from a staged file - "Some required subfields are unset"
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-19 20:33 UTC by Emily Lamancusa (emlam)
Modified: 2024-12-19 20:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Lamancusa (emlam) 2024-12-19 20:33:46 UTC
When ordering from a staged file that contains item data, we have the option to edit or confirm the individual items on the "Select to import" tab, or import all items with identical information from the "Item information" tab.

When importing individualized item data from the "Select to import" tab, clicking Save triggers an error: "Some required subfields are unset". Setting the Koha item type in the "Item information" tab fixes this error - but it shouldn't be necessary to set the item type in that tab if all items in the "Select to import" tab already have an item type specified.

To replicate:
1. Go to Acquisitions and find or open a basket
2. Click Add to basket
3. Click Add from new file
4. Upload a MARC file containing item data
5. When the upload completes, click "Add to basket"
6. In the "Select to import" tab that comes up by default, check the checkbox next to
   one or more titles in the file
--> This will expand the item data for those titles
7. Look over the item data, and confirm that all items have a homebranch,
   holdingbranch, and item type defined
8. Click "Save"
--> An error pops up: "Some required subfields are unset"
9. Navigate to the "Item information" tab
10. Select a value for y - Koha item type
11. Click "Save" again
--> The orders are imported successfully