[Bug 41301] New: Custom fields can not be deleted in ill requests
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41301 Bug ID: 41301 Summary: Custom fields can not be deleted in ill requests Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: ILL Assignee: koha-bugs@lists.koha-community.org Reporter: bibliothek@th-wildau.de QA Contact: testopia@bugs.koha-community.org CC: lisette@bywatersolutions.com, pedro.amorim@openfifth.co.uk, tomascohen@gmail.com When removing custom fields in ill request, they get removed in the UI but remain saved in the database. 1) Enable ILLModule 2) Create an ILL request: <staff_url>/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 3) Pick any type, add '42' for cardnumber and any library 4) Edit item metadata (assuming ID 1): <staff_url>/cgi-bin/koha/ill/ill-requests.pl?op=edititem&illrequest_id=1 5) Click 'Add new field' under 'Custom fields' 6) Add any key value pair but avoid 0 for the value to not run into #41281 7) Click 'Update'. Notice the custom field does show. 8) Edit the item again and remove the created key/value pair. 9) Update the request and you will find the key/value pair still remaining -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41301 --- Comment #1 from Jan Kissig <bibliothek@th-wildau.de> --- The code where this should be handled seems to be not implemented at all https://gitlab.com/koha-community/Koha/-/blob/main/Koha/ILL/Backend/Standard... There are checks for add_new_custom and custom_delete form values which are never set in the UI. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41301 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Custom fields can not be |Custom fields can not be |deleted in ill requests |deleted in ILL requests -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org