Electronic resource links can fail to display in Bootstrap OPAC

Bug #1950394 reported by Galen Charlton
30
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.7
Fix Released
Medium
Unassigned

Bug Description

Electronic resource links can fail to be displayed on the record summary page in the Bootstrap OPAC when:

- the MARC record has an 856 field with ind1 = 4 and ind2 = 0 or 1 and is NOT a located URI
- the bib is part of a metarecord set with at least one other member
- the master record in the metarecord set does not have 856 fields

This is happening because the TT function get_marc_attrs is being called twice first for the bib itself, then the metarecord, but because of reordering in the Bootstrap display as compared to TPAC, processing that expects the bib is instead getting the metarecord.

Patch is forthcoming

Evergreen 3.7+

Galen Charlton (gmc)
Changed in evergreen:
milestone: none → 3.8.1
importance: Undecided → Medium
tags: added: bootstrap opac
Revision history for this message
Galen Charlton (gmc) wrote :

A patch is available in

working/user/gmcharlt/lp1950394_fix_bootstrap_eresource_display / https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1950394_fix_bootstrap_eresource_display

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

I have tested this on PINES test servers. 856 4 Ind1 with Ind2 0 or 1 does display in the OPAC.

I have not tested 856 display with metarecords.

Note: Other ind2 for the 856 do not display; however, they appear to be beyond the scope of this fix.

Revision history for this message
Adam Bowling (abowling) wrote :

I haven't tested the issue reported by Elaine, but I can confirm that after applying the patch, links correctly display where they didn't before.

Changed in evergreen:
status: New → Confirmed
Changed in evergreen:
assignee: nobody → Jason Stephenson (jstephenson)
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Galen's patch works for us at CW MARS: URIs now show up when they should and dont' show up when they shouldn't for metarecords.

Pushed to master, rel_3_7, and rel_3_8.

Thanks, Galen, Elaine, and Adam!

Changed in evergreen:
status: Confirmed → Fix Committed
assignee: Jason Stephenson (jstephenson) → nobody
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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