Bug 31839

Summary: Error when viewing bibliographic details of record with local cover
Product: Koha Reporter: Ricardo Vargas <ricvargasmed>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart, lucas, wizzyrea
Version: 21.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Ricardo Vargas 2022-10-16 20:00:30 UTC
In Koha 21.11.12, when having the localcoverimages preference active and uploading a cover page of a record, it saves it correctly but in the normal view it marks error 500 and does not allow to consult the information, the MARC, tagged MARC and items view works correctly.

If the localcoverimages preference is deactivated, the record is visible in the normal view, but without its cover page.
Comment 1 Owen Leonard 2022-10-17 14:37:29 UTC
I can reproduce this error in 21.11.12 too:

Template process failed: undef error - The method Koha::CoverImage->count is not covered by tests!
Comment 2 Liz Rea 2022-10-18 14:33:09 UTC
This also seems to exist in 21.11.11
Comment 3 Lucas Gass 2022-10-18 15:23:10 UTC
This is fixed in 21.11.13 by Bug 30976.
Comment 4 Jonathan Druart 2022-10-19 08:46:51 UTC

*** This bug has been marked as a duplicate of bug 30976 ***