[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
Tue Feb 13 17:41:19 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34920

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #162037|0                           |1
        is obsolete|                            |

--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 162121
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162121&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

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list