[Bug 26300] New: Error in ISBD view in OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 Bug ID: 26300 Summary: Error in ISBD view in OPAC Change sponsored?: --- Product: Koha Version: 20.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: hblancoca@gmail.com QA Contact: testopia@bugs.koha-community.org when I try to connect in OPAC to https://catalogo.urosario.edu.co/cgi-bin/koha/opac-ISBDdetail.pl?biblionumbe... View this error Software error: The method Koha::Item->itemtype is not covered by tests! Trace begun at /usr/share/koha/lib/Koha/Object.pm line 780 Koha::Object::AUTOLOAD('Koha::Item=HASH(0x564b373f19d0)') 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(0x564b373f19d0)', 'HASH(0x564b3659bcf0)') 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(0x564b35160c78)', 'HASH(0x564b37636218)') called at /usr/share/koha/opac/cgi-bin/opac/opac-ISBDdetail.pl line 91 But in staff all works fine -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Please make sure that all your items (or records in case of item-level itype = biblio) have an itemtype set -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 --- Comment #2 from Humberto Blanco <hblancoca@gmail.com> --- has any advance about this, i have the same error, but this error is not present in staff view. only biblioitems has itemtype, https://catalogo.urosario.edu.co/cgi-bin/koha/opac-ISBDdetail.pl?biblionumbe... this book has itemtype value set to LIBRO mac or normal view its working fine https://catalogo.urosario.edu.co/cgi-bin/koha/opac-MARCdetail.pl?biblionumbe... https://catalogo.urosario.edu.co/cgi-bin/koha/opac-detail.pl?biblionumber=35... ins staff view looks like : Saint-Exupery, Antoine de, 1900-1944 El principito / Antoine de Saint-Exupéry.. -- Bogotá (Colombia) : Alianza, 1988 . -- 116 páginas . -- (El Libro de Bolsillo.Literatura ; 348). ISBN: 9589159354 MATERIAS: Cuentos franceses Literatura europea Literatura francesa Literatura infantil francesa Clasificación Dewey. No.: 843.912 EXISTENCIAS: Libro / Ej.1 / 100004351 / Claustro / 843.912 S137p -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Please check that in your frameworks the 952$y is set to display in the OPAC. Also: Are you using OpacHiddenItems? Try to empty it out and retest. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 --- Comment #4 from Humberto Blanco <hblancoca@gmail.com> --- Created attachment 115338 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115338&action=edit display 952$y yes the item its set to display in opac -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 --- Comment #5 from Humberto Blanco <hblancoca@gmail.com> --- aboyt the Hiddenitems, yes we have, but associated to other types not book -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Sorry, I am out of ideas then. I just noticed the HiddenItems reference in your error message. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |koha-bugs@lists.koha-commun | |ity.org Severity|enhancement |normal Component|OPAC |MARC Bibliographic data | |support -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 Rafael Antonio <rafael.antonio@sapo.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rafael.antonio@sapo.pt --- Comment #7 from Rafael Antonio <rafael.antonio@sapo.pt> --- Release 21.11 has this error. If we have the record without item opac-ISBDdetail.pl works well. When we add an item we receive the message "Sorry, the requested page is not available Error 404" We tryid to make a clean instalation but it hapens the same error. Any help? Thanks -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 Rafael Antonio <rafael.antonio@sapo.pt> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion --- Comment #8 from Rafael Antonio <rafael.antonio@sapo.pt> --- Release 21.11 has this error. If we have the record without item opac-ISBDdetail.pl works well. When we add an item we receive the message "Sorry, the requested page is not available Error 404" We tryid to make a clean instalation but it hapens the same error. Any help? Thanks -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 Charles Kelley <cmkelleymls@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cmkelleymls@gmail.com --- Comment #9 from Charles Kelley <cmkelleymls@gmail.com> --- We also see this bug. After we found this bug report, we cleaned up our database quite a bit; but the bug persists. Here's our error report. 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(0x55c6bdf4bf60)') 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(0x55c6bdf4bf60)', 'HASH(0x55c6bdf4bde0)') 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(0x55c6bba689c8)', 'HASH(0x55c6bdf3fc50)') 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. We hope this bug is exterminated very soon. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Could you post the contents of your OpacHiddenItems system preference? And can you please check if the error goes away if you empty it for a quick test? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 --- Comment #11 from Charles Kelley <cmkelleymls@gmail.com> --- On our end the bug is exterminated. What caused the bug in the first place was that we used the wrong header in the OPACHiddenItems. Originally, we entered lost: [1, 2, 3, 4, 5, 9, 21, 22, 31, 32, 98, 99] Through other correspondence, we learned that the SQL column names were supposed to be used instead. So we got a copy of the column names from the Koha-community website and corrected the above bad entry to itemlost: [1, 2, 3, 4, 5, 9, 21, 22, 31, 32, 98, 99] The problem vanished. We got "lost" from what appears in some of the documentation, from a bit of intuition, and a bit of illogic. In summary, as long as the SQL column name is used, there isn't a problem. I suggest the documentation be amended to include such cautionary advice. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26300 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|In Discussion |RESOLVED --- Comment #12 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Charles, thanks for sharing your solution. I believe Humberto's problem is very similar: The column in the items table is named itype, not itemtype. See: https://schema.koha-community.org/master/tables/items.html -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org