Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-569

Error 500 when an agreement is saved with a blank Agreement Line group

    XMLWordPrintable

Details

    • ERM Sprint 82
    • Bienenvolk

    Description

      When an agreement is saved with an uncompleted Agreement Line group, an error should be displayed in the form indicating that the "Select from basket" field must be selected".

      Note that this error is displayed regardless of whether or not items exist in the basket.

      Error message:

      ERROR: in module @folio/agreements, operation POST on resource 'agreements' failed, saying: {"message":"Property [resource] of class [class org.olf.erm.Entitlement] with value [null] does not pass custom validation","path":"","_links":{"self":

      {"href":"https://folio-testing-okapi.aws.indexdata.com:8080"}

      }}

      Screenshot:

      Steps to recreate:

      Create a new agreement
      Add a start date
      Select a status
      Select "Add agreement line" button to show the AL group.
      Save the agreement

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                gosguthorpe Gill Osguthorpe
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases