[Koha-bugs] [Bug 34346] New: Adding duplicate tag to a framework leads to error page, should give user readable error message

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 21 22:57:56 CEST 2023


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

            Bug ID: 34346
           Summary: Adding duplicate tag to a framework leads to error
                    page, should give user readable error message
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

I tried adding a tag to the default framework and got a 500 error. It was
because the tag already existed. Elsewhere in Koha, we get a user readable
message saying something like "An error occurred when inserting this patron
category. The patron category might already exist."

To replicate:
1. In the staff interface, go to Administration > MARC bibliographic framework
2. Click the Actions button next to the default framework and choose MARC
structure
3. Click New tag
4. Fill out the form to add an already existing tag number
   Tag: 699
   Label for lib: Local subject
   Label for OPAC: Local subject
5. Click Save changes
--> 500 error

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list