| Summary: | 500 error when creating new authorized values from additem.pl | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
| Component: | Cataloging | Assignee: | Lucas Gass (lukeg) <lucas> |
| Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | m.de.rooy |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Bug 41417: Fix client variable in cataloging.js
Bug 41417: Fix client variable in cataloging.js |
||
|
Description
Lucas Gass (lukeg)
2025-12-09 20:21:23 UTC
Created attachment 190384 [details] [review] Bug 41417: Fix client variable in cataloging.js To test: 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: 9. APPLY PATCH, clear browser cache. 10. Try again, this time it should work. Created attachment 190385 [details] [review] Bug 41417: Fix client variable in cataloging.js To test: 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: 9. APPLY PATCH, clear browser cache. 10. Try again, this time it should work. Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> |