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

Agreements: Entering an agreement in which the name consists only of blanks causes an error

    XMLWordPrintable

Details

    • ERM Sprint 86
    • Bienenvolk

    Description

      Tested on https://folio-snapshot.aws.indexdata.com

      Given

      • You are a logged in user with permissions to create agreements.

      Steps to Reproduce:

      1. Open Agreements / Agreements tab
      2. Click "New"
      3. Enter one or more spaces in the name field
      4. Select a status and start date
      5. Click "Save & Close"

      Notice the error message:

      ERROR: in module @folio/agreements, operation POST on resource 'agreements' failed, saying: {"message":"Property [name] of class [class org.olf.erm.SubscriptionAgreement] cannot be null","path":"","_links":{"self":{"href":"https://folio-snapshot-okapi.aws.indexdata.com:8080"}}}

      Note: The error can also be reproduced in Licenses.

      If only whitespace has been entered in the agreement name, or license name, the field should act as if no text has been entered in the field
      Also affects Amendment name field and /local-kb-admin/create "Package name"

      TestRail: Results

        Attachments

          Activity

            People

              ostephens Owen Stephens
              fhemme Felix Hemme
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases