Koha/koha-tmpl/intranet-tmpl/prog
Nick Clemens 66d519ae41
Bug 34014: Allow staff to edit degraded records
This patch adds an eval to the call for the record form metadata

If there is an error we catch it, display it, and attempt to strip bad characters from the record

To test:
1 - In koha testing docker attempt to view record 369 in the staff interface
2 - You see a warning about degraded view
3 - Attempt to edit the record
4 - Internal server error
5 - Apply patch, restart all
6 - Reload the editor
7 - Record successfully loads!
8 - You have a warning about encoding issues!
9 - Save the record
10 - No more warning!
11 - Edit again, no more warning!

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-20 11:02:58 -03:00
..
css Bug 34392: Run automated Stylelint fixes on staff CSS 2023-10-18 16:00:34 -03:00
en Bug 34014: Allow staff to edit degraded records 2023-10-20 11:02:58 -03:00
img
js Bug 35098: Fix display of clickable batch name in ILL table 2023-10-20 11:02:57 -03:00
pdf
sound