Actual: Error generated reading: ERROR: in module @folio/requests, operation POST on resource 'requests' failed, saying: {"errors":[{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"itemId","value":"null"}]},{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"requestType","value":"null"}]}]}
Theodor Tolstoy (One-Group.se) January 10, 2018 at 10:46 AM
Works fine! Created request 789fcfc8-ba7c-454c-9390-fe8071f9a344
Cate Boerema November 6, 2017 at 10:46 AM
Can't test this due to and .
Matt Connolly October 9, 2017 at 12:36 AM
I'll bet that these errors occurred when the items picked did not have an associated loan record. I've adjusted the code a bit so that that isn't an issue.
Steps to Repro:
Log into folio-testing
Go to requests app
Click new
Complete all fields in new request form
Click Create Request to save request
Expected: It will save new request witout error
Actual: Error generated reading: ERROR: in module @folio/requests, operation POST on resource 'requests' failed, saying: {"errors":[{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"itemId","value":"null"}]},{"message":"may not be null","type":"1","code":"-1","parameters":[{"key":"requestType","value":"null"}]}]}