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

Error on opening Tags panel after creating new agreement line with eHoldings resource

    XMLWordPrintable

Details

    • ERM Sprint 136, ERM Sprint 137
    • Bienenvolk
    • Lotus (R1 2022) Bug Fix
    • TBD

    Description

      Overview:
      Steps to Reproduce:

      1. Create new agreement
      2. Add agreement line
      3. Click 'eHoldings' button
      4. Click 'Link e-resource' button
      5. search for a package - e.g. 'CINAHL'
      6. click package in search results to link it to the agreement line
      7. Save & close agreement line
      8. Click 'tags' icon at top right of agreement line
      9. See error

      Expected Results:
      Tags panel opens

      Actual Results:
      Error

      URL: https://folio-snapshot.dev.folio.org/erm/agreements/77c4eeb2-256c-4347-bd62-371104fec484/line/0d1e8ba7-8fbf-47fb-b54b-753886165ca9?helper=tags
      
      Error: TypeError: Cannot read properties of undefined (reading 'toLowerCase')
      
      Stack: at https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:10154882
      at Array.map (<anonymous>)
      at l.value (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:10154844)
      at Wa (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:13901262)
      at Xa (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:13901061)
      at Ws (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:13941820)
      at Cc (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:13928038)
      at Pc (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:13927966)
      at Sc (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:13927829)
      at yc (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:13924816)
      
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:10153621)
      at div
      at section
      at c (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8821426)
      at y (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8858140)
      at d (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9644433)
      at f (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9232488)
      at m (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9033869)
      at y (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14083799)
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9412390)
      at s (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9065109)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9685913)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9703337)
      at HotKeys-t
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8573204)
      at tm (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:654205)
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:662073)
      at m (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:10157986)
      at s (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:291287)
      at f (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9232488)
      at m (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9033869)
      at y (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14083799)
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9412390)
      at s (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9065109)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14108281)
      at d (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9085822)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14110298)
      at div
      at k (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8839077)
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8845964)
      at y (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8858140)
      at h (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:10052438)
      at c (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:10100264)
      at r (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14110835)
      at div
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9685913)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9703337)
      at HotKeys-t
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8573204)
      at hr (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:312629)
      at s (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:320309)
      at f (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9232488)
      at m (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9033869)
      at y (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14083799)
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9412390)
      at s (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9065109)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14108281)
      at d (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9085822)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14110298)
      at div
      at div
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9685913)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9703337)
      at HotKeys-t
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8573204)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9685913)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9703337)
      at HotKeys-t
      at c (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:8570605)
      at O (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:867714)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9377527)
      at h
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9380953)
      at s (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9065109)
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9098972)
      at Na (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9237144)
      at div
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9075655)
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9236667)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14108281)
      at ls (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9242934)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14110298)
      at main
      at Gl (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9290475)
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9253116)
      at div
      at Ms (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9251286)
      at s (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9250061)
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9082429)
      at r (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14110835)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14104907)
      at u (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14081848)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9685913)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9703337)
      at HotKeys-t
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9377527)
      at h
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9380953)
      at s (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9065109)
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9246735)
      at injectIntl(a)
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9365970)
      at t (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14009282)
      at c (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14063243)
      at K (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9092325)
      at a (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9098972)
      at c (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9371601)
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:9082429)
      at y (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14083799)
      at l (https://folio-snapshot.dev.folio.org/bundle.ca32c7da53dfde376cb1.js:2:14718025)
      

      Additional Information:

      • Only happens with resources added from eHoldings
      • Only happens immediately after creating the agreement line - if you close the agreement line and open again then it works OK

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                ostephens Owen Stephens
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases