Summary: | Error when viewing a course reserve that has one or more items | ||
---|---|---|---|
Product: | Koha | Reporter: | Kyle M Hall (khall) <kyle> |
Component: | Course reserves | Assignee: | Kyle M Hall (khall) <kyle> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | blocker | ||
Priority: | P5 - low | CC: | jonathan.druart |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 26323 | ||
Bug Blocks: | |||
Attachments: | Bug 27038: Fix parameters for AuthorisedValues.GetDescriptionByKohaField |
Description
Kyle M Hall (khall)
2020-11-16 20:25:30 UTC
Created attachment 113684 [details] [review] Bug 27038: Fix parameters for AuthorisedValues.GetDescriptionByKohaField Calls to GetDescriptionByKohaField are a bit mangled in course-details.tt and throw an error like: Template process failed: undef error - Can't use string ("NFIC") as a HASH ref while "strict refs" in use at /kohadevbox/koha/Koha/Template/Plugin/AuthorisedValues.pm line 83. at /kohadevbox/koha/C4/Templates.pm line 122 Test Plan: 1) Check out master 2) Create a course 3) Add an item to the course 4) View the course 5) Note the error 6) Apply this patch 7) Reload the page 8) No error! I believe this is a partial duplicate? We already have bug 26819 waiting for a follow-up from you. |