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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Labels:
    • Environment:

      @folio/inventory 1.0.3000201

    • Template:
    • Development Team:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases