https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41417 Bug ID: 41417 Summary: 500 error when creating new authorized values from additem.pl Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl To recreate: 1. Find or create a record in Kkoha. 2. From the record detail page click "Edit" and "Manage items" 3. Begin adding a new item 4. For any of the dropdowns that contain an authorized value ( LOST, DAMAGED, WITHDRAWN, CCODE, LOC ) click on the dropdown and begin typing an AV that doesn't exist. 5. You should see the text (select to create) appear, click it. 6. Now a modal appears "Create a new authorized value" 7. Fill out the required parts and click 'Save'. 8. Kaboom, 500 error: Can't call method "metadata" on an undefined value at /kohadevbox/koha/cataloguing/additem.pl line 193 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.