Bug 31839 - Error when viewing bibliographic details of record with local cover
Summary: Error when viewing bibliographic details of record with local cover
Status: RESOLVED DUPLICATE of bug 30976
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: 21.11
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-16 20:00 UTC by Ricardo Vargas
Modified: 2022-10-19 08:46 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***