[Koha-bugs] [Bug 30186] New: ISBD Bombs When 942‡n = "1" But Patron Type Not in OPENHiddenItemsExceptions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Feb 26 07:07:36 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30186

            Bug ID: 30186
           Summary: ISBD Bombs When 942‡n = "1" But Patron Type Not in
                    OPENHiddenItemsExceptions
 Change sponsored?: ---
           Product: Koha
           Version: 20.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: cmkelleymls at gmail.com
        QA Contact: testopia at bugs.koha-community.org

We encountered an ISBD view problem: The file turns up lost. Here are
the conditions that we have identified:

 - In OPACHiddenItemsExceptions, the patron type is not listed as an excepted
type.
 - The patron looks for a work in our collection through our catalog, but 942‡n
= "1".
 - Method of search does not matter: author, title, subject, word, call number
all work fine.
 - The record is listed in the OPAC results.
 - The patron happens to select the version whose 942‡n = "1". The record, in
Normal view, is rendered in the window. All three view tabs (Normal view, MARC
view, ISBD view) are listed.
 - The patron clicks on ISBD view. BOOM!

Here's the output from Koha.

------------

Software error:

The method Koha::Item->lost is not covered by tests!

Trace begun at /usr/share/koha/lib/Koha/Object.pm line 780
Koha::Object::AUTOLOAD('Koha::Item=HASH(0x5637bb245f10)') called at
/usr/share/koha/lib/Koha/Item.pm line 478
Koha::Item::__ANON__ at /usr/share/koha/lib/Koha/Item.pm line 478
Koha::Item::hidden_in_opac('Koha::Item=HASH(0x5637bb245f10)',
'HASH(0x5637bb191908)') called at /usr/share/koha/lib/Koha/Biblio.pm line
258
Koha::Biblio::__ANON__ at /usr/share/koha/lib/Koha/Biblio.pm line 258
Koha::Biblio::hidden_in_opac('Koha::Biblio=HASH(0x5637ba6cbfd0)',
'HASH(0x5637bb2460a8)') called at
/usr/share/koha/opac/cgi-bin/opac/opac-ISBDdetail.pl line 91

For help, please send mail to the webmaster ([no address given]), giving
this error message and the time and date of the error.

------------

Clicking on MARC view or Normal view does not render the above bug.
Pressing the back arrow restores the record's listing and all other OPAC
features. If we change the patron's type to one in
OPACHiddenItemsException, or if add the patron's type to
OPACHiddenItemsException, the ISBD bug vanishes in subsequent searches for
the work that produced the error after the changes propagate through Koha.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list