Bug 25962 - In Advanced Editor mandatory subfields are not enforced if tag is not mandatory
Summary: In Advanced Editor mandatory subfields are not enforced if tag is not mandatory
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: master
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-08 20:50 UTC by Andrew Fuerste-Henry
Modified: 2020-07-23 23:51 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
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 Andrew Fuerste-Henry 2020-07-08 20:50:22 UTC
To recreate:
- set your framework so the 100$a is mandatory but the 100 as a whole is not
- open a new record in the advanced editor
- save the record without a 100$a
- edit framework to make the 100 mandatory as well as the 100$a
- open a new record
- try to save without a 100$a, get an error

It doesn't break anything to have to mark the tag required as well as the subfield, but it's more work and it's confusingly different from how we enforce these in the regular editor.
Comment 1 David Cook 2020-07-23 23:50:35 UTC
Agreed