https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39800 Bug ID: 39800 Summary: Error 500 when trying to delete patron card template Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org I noticed this on 24.05.05, but it also happens on main. When you try to delete the default patron card template, Koha returns a 500 error. I thought it was maybe because the patron card template was linked to a printer profile and this blocked the deletion, but I doesn't seem like it. If we edit the card template (without changing anything), then we can delete it. To recreate: 1. Go to Tools > Patron card creator 2. Click Manage > Card templates 3. Click Delete next to the HB-PC0001 template --> Error 500 4. Go back, and click Edit next to the HB-PC0001 template 5. Don't change anything, and click Save 6. Click Delete next to the HB-PC0001 template and confirm --> Card template is deleted Same goes for a printer profile (with fresh db) To recreate: 0. reset_all 1. Go to Tools > Patron card creator 2. Click Manage > Printer profiles 3. Click Delete next to the '16' printer profile --> Error 500 4. Go back, and click Edit next to the '16' profile 5. Don't change anything, and click Save 6. Click Delete next to the '16' printer profile --> Printer profile is deleted -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.