Overview: If you create a POL with data from an Inventory Instance but then change that data such that the UUID is wiped out, but the data has a Product ID containing a parenthesis, then you cannot save/open the PO
Steps to Reproduce:
- Log into FOLIO-snapshot as diku_admin
- Go to the order app
- Create a PO
- Create a POL and populate the bib data from an Inventory Instance ("accidental atheist" title)
- Remove a contributor, or edit the title slightly, which should make the Instance UUID disappear
- Save the POL
- Open the PO
Expected Results: The PO should Open
Actual Results: There's a message "PO cannot be saved".
Additional Information: See attached video. From piotr_kalashuk in the comments: Looks like parentheses in the productId should be somehow be escaped when building CQL query to inventory storage.