Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
ACQ Sprint 120
-
1
-
Thunderjet
-
R2 2021 Bugfix
Description
Overview: When renewing an order who's FOLIO POL has a blank publisher field the integration fails.
Steps to Reproduce:
- Log into bugfest juniper
- Create order and order line for a title found in EBSCONET
- Make sure to leave publisher field blank in FOLIO POL
- Make sure order in EBSCONET has a publisher. All of them do.
- Add FOLIO POL number to ILS number field in EBSCONET
- Renew order in EBSCONET
- Error is returned
- View error in ebsconet
Expected Results: POL is update successfully AND publisher field is updated.
Actual Results: Update fails, error shown:
PUT status code 'BadRequest' {"errors":[{"message":"[400 Bad Request] during [PUT] to http://orders/order-lines/137b7ca8-eb51-4b64-bf30-4dd942d5eb6f OrdersClient#putOrderLine(String,CompositePoLine): [{\n \"errors\" : [{{
{\n \"message\" : \"Protected fields can't be modified\",\n \"code\" : \"protectedFieldChanging\",\n \"parameters\" : [ ],\n \"protectedAndModifiedFields\" : [ \"publisher\" ]\n }}}],\n \"total_records\" : 1\n}]","type":"-1"}],"total_records":1}??
Additional Information: See example in bugfest testing
URL: https://bugfest-juniper.folio.ebsco.com/orders/view/f3be72a2-58df-4ca8-b6db-dcca8f46b76b/po-line/view/137b7ca8-eb51-4b64-bf30-4dd942d5eb6f
Interested parties:
Approach
1. Remove from protected field "Publisher" field
2. To support https://issues.folio.org/browse/MODEBSNET-15 : Remove from protected field "PUBLICATION_DATE("publicationDate")" field
TestRail: Results
Attachments
Issue Links
- blocks
-
MODORDERS-546 MODORDERS (mod-orders) R2 Bugfix release
-
- Closed
-
- clones
-
MODEBSNET-15 Dates are being input as 01/01/0001
-
- Closed
-
- relates to
-
UXPROD-190 Create/Renew orders in FOLIO from EBSCONET
-
- Closed
-