Uploaded image for project: 'ui-inventory'
  1. ui-inventory
  2. UIIN-207

Saving new instance with empty publisher field fails with "ERROR: j.publication[0] is null"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 1.1.0
    • @folio/inventory 1.0.3000201

    • Prokopovych

    Description

      How to reproduce:
      Open http://folio-snapshot-stable.aws.indexdata.com
      Click "Inventory" app button
      Click "+ New"
      Put "foo" into the title field
      Select resource type "Books"
      Click "+ Add publication"
      Do NOT enter anything into the publication fields
      Click "Create Instance".

      Expected: The new instance gets successfully saved without publication information. If the back-end sends a null field the front-end should handle it gracefully.
      Actual: Error message "ERROR: j.publication[0] is null"

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                nielserik Niels Erik Gilvad Nielsen
                julianladisch Julian Ladisch
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases