SuperCat can crash on bibs that have serial units with stat cats

Bug #1970486 reported by Galen Charlton
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Status tracked in Main
3.7
Fix Released
Medium
Unassigned
3.8
Fix Released
Medium
Unassigned
Main
Fix Released
Medium
Unassigned

Bug Description

A SuperCat request that retrieves holdings XML for a title that has serial units that in turn have statistical categories associated with them can crash.

The associated error is

*** Call to [open-ils.supercat.record.holdings_xml.retrieve] failed for session [1650988522.483791336.03527678497], thread trace [2]:
Can\'t locate object method "opac_visible" via package "8122" (perhaps you forgot to load "8122"?) at /usr/local/share/perl/5.26.1/OpenILS/Application/SuperCat.pm line 3717.

Note that that error may not show up in logs, as it can get swallowed by the calling code.

An example of such a request is https://EGSERVER/opac/extras/supercat/retrieve/marcxml-full/record/BIBID

Revision history for this message
Galen Charlton (gmc) wrote :
tags: added: serials supercat
tags: added: pullrequest
Revision history for this message
Mike Rylander (mrylander) wrote :

Simple and obvious fix, thanks Galen! Picked to master back through rel_3_7.

no longer affects: evergreen/3.9
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.