Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-1083

Job editing crashes when trying to replace steps in a profile

    XMLWordPrintable

Details

    • 0
    • Folijet Support
    • Lotus R1 2022
    • Cornell, Spokane Public Libraries
    • Not a bug

    Description

      Overview: When trying to remove action steps from the "no matches" block in a job profile the UI crashes

      Current workaround: Saving in between removing the links and adding new matches/actions and then quitting and restarting the browser multiple times finally cleared the error long enough to save the profile. Another possibility is to delete that job profile and create a whole new one.

      Steps to Reproduce:

      1. Log into folio-snapshot-load
      2. Go to Settings/Data Import
      3. Create the following profiles
      4. Match profile 1
        • 001 to Instance HRID
        • Incoming record: MARC Bib
        • Existing record: Instance
        • MARC field: 001 (leave Ind 1, Ind 2, Subfield blank)
        • Exactly matches
        • Instance HRID
      5. Match profile 2
        • 999 ff $i to Instance UUID
        • Incoming record: MARC Bib
        • Existing record: Instance
        • MARC field: 999, Ind 1: f, Ind 2: f, Subfield: i
        • Exactly matches
        • Instance UUID
      6. Job profile
        • Name: Create new if not in Inventory
        • Accepted data: MARC
        • Match profile: 001 to Instance UUID
        • For matches: leave blank
        • For non-matches: Action profile: Default - create instance
      7. Save the job profile
      8. Edit the job profile
        • Delete the Action profile from the non-matches section
        • Click + under non-matches and add the Match profile: 999 ff $i to Instance UUID
        • For matches under that match: leave blank
        • For non-matches under that match: add Default-Create instance
      9. Save the updated profile
      1. Log into Cornell's Juniper production tenant
      2. Edit a profile that has a match profile and then has actions only under the no match block. Use the button to remove those actions.
      3. Now try to add a match to the non-match block.

      Expected Results: The actions are removed and you can continue editing the non-match block.

      Actual Results: The UI crashes

      Additional Information: video: https://vod.video.cornell.edu/media/Jenn+Colt%27s+Personal+Meeting+Room/1_14a418ne

      Error:

      Error: Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

      at Kc (https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:648:90352)
      at ha (https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:648:62275)
      at https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:11:126488
      at oc (https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:648:83209)
      at ms (https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:648:102288)
      at t.unstable_runWithPriority (https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:656:3844)
      at Wo (https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:648:45024)
      at hs (https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:648:102047)
      at Zc (https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:648:93596)
      at https://cornell.folio.ebsco.com/20211217-234704/bundle.4ba28fc3317eb5a6fc28.js:648:45315

      in Ro
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in div
      in Unknown
      in Unknown
      in div
      in div
      in section
      in k
      in a
      in div
      in div
      in i
      in a
      in Wrappeda(withAccordionStatus)
      in i
      in div
      in div
      in section
      in c
      in Unknown
      in WithPaneset(Component)
      in ForwardRef
      in form
      in un
      in t
      in t
      in HotKeys-t
      in i
      in E
      in Unknown
      in Connect(Component)
      in O
      in i
      in withRouter
      in Unknown
      in Unknown
      in div
      in c
      in Unknown
      in WithPaneset(Component)
      in ForwardRef
      in div
      in _
      in a
      in WithPaneset(a)
      in ForwardRef
      in t
      in t
      in HotKeys-t
      in i
      in i
      in WithStripes
      in withRouter(WithStripes)
      in Unknown
      in c
      in n
      in withRouter
      in i
      in WithConnect
      in Connect(WithConnect)
      in c
      in WithStripes(c)
      in Connect(WithStripes(c))
      in Unknown
      in t
      in t
      in i
      in WithStripes
      in i
      in t
      in t
      in HotKeys-t
      in i
      in i
      in l
      in i
      in i
      in Ki
      in t
      in t
      in div
      in _
      in a
      in WithPaneset(a)
      in ForwardRef
      in i
      in injectIntl
      in WithModules(injectIntl)
      in withRouter(WithModules(injectIntl))
      in i
      in Ki
      in t
      in i
      in injectIntl
      in WithStripes(injectIntl)
      in t
      in main
      in du
      in i
      in div
      in Aa
      in a
      in WithModules(a)
      in withRouter(WithModules(a))
      in t
      in d
      in t
      in t
      in HotKeys-t
      in t
      in h
      in i
      in WithStripes
      in i
      in injectIntl
      in i
      in IntlProvider
      in u
      in Oe
      in i
      in a
      in WithModules(a)
      in Connect(WithModules(a))
      in i

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                jenncolt Jenn Colt
                jenncolt Jenn Colt
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases