Setting default record view to "MARC Edit" causes problems when record is retrieved by TCN

Bug #1708951 reported by Jane Sandberg
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
High
Unassigned
2.12
Fix Released
High
Unassigned

Bug Description

This affects the Web staff client in both our local 2.12 system and on Webby.

Steps to reproduce:

1) In the web staff client, open up a bib record.
2) Go to the MARC Edit tab and click "Set default view".
3) Next, go to Cataloging > Retrieve Bib Record by TCN (I used TCN 7705 in Webby).

The behavior I experienced after step 3 is that the MARC Edit view would start to load, then suddenly start loading a blank version of the OPAC view. When I mouse over any of the other tabs, the cursor turns into a "no" symbol.

I've attached a screenshot of the blank OPAC view that loads. Thanks for looking into this!

Revision history for this message
Jane Sandberg (sandbergja) wrote :
Revision history for this message
Elaine Hardy (ehardy) wrote :

I am finding the same thing today. And I am unable to search by TCN even after changing default view, logging out and back in.

This is a critical bug.

Revision history for this message
Elaine Hardy (ehardy) wrote :

The error occurs for me in Firefox; but, I am not seeing it using Chrome so far

Changed in evergreen:
status: New → Confirmed
Changed in evergreen:
importance: Undecided → High
milestone: none → 3.0-alpha
Revision history for this message
Chris Sharp (chrissharp123) wrote :

I can confirm the same behavior in Firefox. I can also confirm that it's not happening in Chrome.

Revision history for this message
Chris Sharp (chrissharp123) wrote :
Changed in evergreen:
milestone: 3.0-beta → 3.0-beta2
Revision history for this message
Cesar V (cesardv) wrote :

I tested this and got the same results as Chris on firefox, except no moment.js errors.

In Firefox, right before the bug, it seems to flash the Marc Edit tab for a sec (correctly), before jumping to the blank OPAC view, which points towards some sort of race condition caused by the data-loading of the tabs.

Galen Charlton (gmc)
Changed in evergreen:
assignee: nobody → Galen Charlton (gmc)
Revision history for this message
Galen Charlton (gmc) wrote :
tags: added: pullrequest
Changed in evergreen:
assignee: Galen Charlton (gmc) → nobody
Revision history for this message
Galen Charlton (gmc) wrote :

(And I've force-pushed a slightly cleaned-up version of the patch.)

Beth Willis (willis-a)
Changed in evergreen:
assignee: nobody → Beth Willis (willis-a)
Revision history for this message
Beth Willis (willis-a) wrote :

I have tested this code and consent to signing off on it with my name, Beth Willis and my email address, <email address hidden>."

Note: the bug described affected both Retrieve Bib Record by TCN and Retrieve Bib Record by ID. Both options now result in the loading of the MARC record in MARC edit view if that is the selected default.

Changed in evergreen:
assignee: Beth Willis (willis-a) → nobody
tags: added: signedoff
Kathy Lussier (klussier)
Changed in evergreen:
assignee: nobody → Kathy Lussier (klussier)
Revision history for this message
Cesar V (cesardv) wrote :
Revision history for this message
Kathy Lussier (klussier) wrote :

Thank you Galen, Beth, and Cesar. Picked to master and release 2.12.

Changed in evergreen:
assignee: Kathy Lussier (klussier) → nobody
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.