"Something went wrong" error appears when click on "Search" toggle when detail view of "Instance" record is opened

Description

Overview: "Something went wrong" error appears when click on "Search" toggle when detail view of "Instance" record is opened in the third pane
Steps to Reproduce:
Scenario 1:

  1. Log into Snapshot FOLIO environment as User with following permissions:
    Data import: Can view only
    Inventory: All permissions

  2. Import any "MARC bib" record using "Default - Create instance and SRS MARC Bib" job profile via "Data import" app.
    You can use attached file:

  1. Once import is completed, click on the "File name" value at the row with imported record.

  2. Click on the "Created" hyperlink next to imported record.

  3. Click on the "Search" tab on "Search|Browse" toggle placed on the "Search & filter" pane.

Expected Results: All panes are cleared from user selections/search results. Only the search query is retained.
Actual Results: "Something went wrong" error appears.
See attached screencast:

 

Scenario 2:

  1. Log into Snapshot FOLIO environment as User with following permissions:
    Inventory: All permissions

  2. Go to "Inventory"

  3. Run any search which will return records

  4. Oped detail view of "Instance" record in the third pane

  5. Click on the "Search" tab on "Search|Browse" toggle placed on the "Search & filter" pane.

Expected Results: All panes are cleared from user selections/search results. Only the search query is retained.
Actual Results: "Something went wrong" error appears.
See attached screencast:

Additional Information:
The issue also reproduces after redirecting from "Browse" pane to "Search" pane using "Contributor"/"Subject"/ "Call number" hyperlink.
This issue is floating.
See how it works on https://bugfest-orchid.int.aws.folio.org/ 
Interested parties: ,  

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

5
  • 20 Jun 2023, 04:01 PM
  • 20 Jun 2023, 04:00 PM
  • 02 Jun 2023, 09:18 AM
  • 02 Jun 2023, 09:09 AM
  • 02 Jun 2023, 08:53 AM

Checklist

hide

TestRail: Results

Activity

Show:

Yauhen Viazau June 20, 2023 at 4:01 PM

Verified on Snapshot-2 - works as expected Check Mark

See attached screencasts: 

  •  

Dmytro Melnyshyn June 8, 2023 at 7:11 AM

To reproduce this bug, it is needed first to do a Browse search.

Khalilah Gambrell June 4, 2023 at 2:31 PM

Also why is the toggle clickable when it is selected?

Khalilah Gambrell June 4, 2023 at 2:13 PM

Hey  

  • I cannot reproduce this issue when I import a MARC authority record and click the Created link to go to the record in the MARC authority record. I

  • I cannot reproduce this issue when I link a MARC authority to a MARC bib field then click the # of titles link in the MARC authority results list 

  • So it seems to be isolated to data import link to Inventory and Browse to Search link 

  • Can we implement a behavior similar to what we did with MARC authority app meaning 

    • Inventory app Search tab is highlighted whenever user is coming from data import and coming from Inventory app Browse when clicking number of titles?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Fix versions

Release

Poppy (R2 2023)

RCA Group

Implementation coding issue

Affected releases

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 2, 2023 at 9:09 AM
Updated October 3, 2023 at 3:24 PM
Resolved June 22, 2023 at 3:14 PM
TestRail: Cases
TestRail: Runs

Flag notifications