Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-548

Publisher could not be updated by EBSCONET

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ACQ Sprint 120
    • Story Points:
      1
    • Development Team:
      Thunderjet
    • Release:
      R2 2021 Bugfix

      Description

      Overview: When renewing an order who's FOLIO POL has a blank publisher field the integration fails.

      Steps to Reproduce:

      1. Log into bugfest juniper
      2. Create order and order line for a title found in EBSCONET
      3. Make sure to leave publisher field blank in FOLIO POL
      4. Make sure order in EBSCONET has a publisher. All of them do.
      5. Add FOLIO POL number to ILS number field in EBSCONET
      6. Renew order in EBSCONET
      7. Error is returned
      8. 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

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                dennisbridges Dennis Bridges
                Tester Assignee:
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases