[Koha-bugs] [Bug 34920] ERM breaks if an ERM authorized value is missing a description
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 29 11:43:44 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34920
Jonathan Druart <jonathan.druart+koha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #8 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I think there are several wrong things here.
1. Missing a cypress test
2. Missing a test to cover the REST API spec change
3. Do you really want this logic in the low level api-client fetch? What if you
want to display a form to edit the AV? You will display the value in the
description, which does not reflect the correct values
4. The dropdown list has an empty entry: https://snipboard.io/cAhiq0.jpg
I am not sure what's best here. Maybe we need a fallback at higher level (in
the template)? But that will need to be done in several places.
For discussion.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list