[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
Mon Feb 12 15:47:46 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34920
--- Comment #4 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 162037
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162037&action=edit
Bug 34920: Default to using av.value is av.description is falsy
Test plan:
1. Enable ERM module
2. Confirm that you can open the ERM module in the staff interface.
3. Go to the authorized values, select 'ERM_AGREEMENT_CLOSURE_REASON' and edit
the 'Cancelled' authorized value by removing the description. Making this
change with any of the ERM authorized values will result in an error.
4. Go back to the ERM module and notice that there is an error. 'Something went
wrong: Error: Expected string - got null.'
5. Apply patch. Run yarn js:build. Repeat test plan
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list