Server error if the checkout is made from a library that does not have any pick-up location #2318
Labels
bug
Breaks something but is not blocking
f: circulation
Concerns the circulation interface or backend
f: professional ui
Professional interface
p-High
High priority (to be solved in the 2-3 next months)
Describe the bug
Server error if the checkout is made from a library that does not have any pick-up location.
Linked issue: #2419
To Reproduce
Expected behavior
Pick-up locations of the transaction library have no impact on the checkout.
Context
Additional context
Error received in console:
error: None is not of type 'string' Failed validating 'type' in schema['properties']['transaction_location_pid']: {'title': 'Transaction location PID', 'type': 'string'}On instance['transaction_location_pid']: None
The text was updated successfully, but these errors were encountered: