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

Display of instance record without language causes error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Template:

      Description

      The attempt to display instance details for an instance record lacking a language cause an error in the UI. The resulting error message is:

      react-dom.production.min.js:188 TypeError: Cannot read property 'name' of undefined
      at n (referenceFormatters.js:48)
      at Object.languagesFormatter (referenceFormatters.js:45)
      at t.value (ViewInstance.js:292)
      at So (react-dom.production.min.js:167)
      at Lo (react-dom.production.min.js:180)
      at pi (react-dom.production.min.js:202)
      at fi (react-dom.production.min.js:203)
      at Gi (react-dom.production.min.js:212)
      at Ui (react-dom.production.min.js:211)
      at Yi (react-dom.production.min.js:211)

      It is legitimate to have an instance record without a language. For example, since instrumental music has no language, language is not coded in MARC 008/35-37 for printed musical scores or sound recordings that contain instrumental music. Other examples could be found.

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              nielserik Niels Erik Gilvad Nielsen
              Reporter:
              hismith Anne L. Highsmith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  TestRail: Runs

                    TestRail: Cases