Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
-
ERM Sprint 86
-
Bienenvolk
Description
Tested on https://folio-snapshot.aws.indexdata.com
Given
- You are a logged in user with permissions to create agreements.
Steps to Reproduce:
- Open Agreements / Agreements tab
- Click "New"
- Enter one or more spaces in the name field
- Select a status and start date
- Click "Save & Close"
Notice the error message:
ERROR: in module @folio/agreements, operation POST on resource 'agreements' failed, saying: {"message":"Property [name] of class [class org.olf.erm.SubscriptionAgreement] cannot be null","path":"","_links":{"self":{"href":"https://folio-snapshot-okapi.aws.indexdata.com:8080"}}}
Note: The error can also be reproduced in Licenses.
If only whitespace has been entered in the agreement name, or license name, the field should act as if no text has been entered in the field
Also affects Amendment name field and /local-kb-admin/create "Package name"