Uploaded image for project: 'mod-orders-storage'
  1. mod-orders-storage
  2. MODORDSTOR-40

Unable to save Line with order_format Other

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 2.0.0
    • ACQ Sprint 54
    • 1
    • Thunderjet

    Description

      Per requirements we have a list of Order Format values, and Other is in it. But There is an exception on back-end if you'll try to create Line with order_format = Other.

      Json content error Cannot construct instance of `org.folio.rest.jaxrs.model.PoLine$OrderFormat`, problem: Other
       at [Source: (String)"{"cost":{"currency":"USD","list_price":"22","quantity_physical":"1"},"vendor_detail":{"instructions":""},"purchase_order_id":"589a6016-3463-49f6-8aa2-dc315d0665fd","po_line_number":"fsdfs-2","acquisition_method":"Exchange","order_format":"Other","id":"c5f00152-48de-45fc-ba97-1d207aab1419"}"; line: 1, column: 239] (through reference chain: org.folio.rest.jaxrs.model.PoLine["order_format"])
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                cmcnally Craig McNally
                aliaksei_chumakou Aliaksei Chumakou
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases