Bug 34827 - "Item information" tab should not appear when adding to a basket from a staged file if items are created using MarcItemFieldsToOrder
Summary: "Item information" tab should not appear when adding to a basket from a stage...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-19 12:09 UTC by Nick Clemens (kidclamp)
Modified: 2024-03-26 22:28 UTC (History)
1 user (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 (kidclamp) 2023-09-19 12:09:57 UTC
When adding to a basket from a staged file, we populate item information on the main tab if using MarcItemFieldsToOrder, however, upon submission we can get an error: "Some required item subfields are not set"

This is because the second tab 'Item information' uses the standard item editing form, and checks that all required fields are filled. These inputs are ignored when item information is present on the other tab. We should not build this form when using MarcItemFieldsToOrder

See bug 20473
Comment 1 Katrin Fischer 2023-09-23 08:52:00 UTC
It looks like there is another bug asking for the item information to be taken into account, but I agree that removing it would make it less confusing for now:

Bug 22108 - Items generated through MARCItemFieldsToOrder do not receive values applied in Item Information and Default Accounting Details
Comment 2 Joe Askins 2024-03-26 22:28:08 UTC
New Koha library experiencing this same issue when staging carts from Baker & Taylor. We'd love to see a fix!