https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39292

            Bug ID: 39292
           Summary: Editing subfield tags in bib editor allows
                    contradiction of framework setup
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

When editing a biblio via the basic editor, one can accomplish edits that
should be prevented by framework configuration.

To recreate:
- have a record in the Default framework that already has a 100$a value
- Confirm your framework defines the 100$a as non-repeatable
- edit the record
--- don't change the existing 100$a
--- edit the subfield tag on a different 100 subfield, set it to $a, enter a
value for the field
- save your record
- you get no error, your record now contains 2 100$a tags

Further:
- enable RequireChoosingExistingAuthority
- confirm you cannot edit an existing 100$a without using the authority picker
- take some other 100 subfield, edit its tag to be $a, put whatever you want in
that field and save
- Koha saves your non-authority author without issue

It's worth noting I tried to save a 100$s, which is not defined in my
framework. That data was not saved and I received no error message about it.

I've confirmed this behavior in Main, 24.11, and 23.05. 24.11 and later
versions have made it more obvious that one can edit these subfield tags, but
the issue I've described here existed in 23.05.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to