http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8434
Priority: P5 - low
Change sponsored?: ---
Bug ID: 8434
Assignee: [email protected]
Summary: Notice generation fails for Advanced Notices, Item
Due, and Overdues when run in shell (due to error in
Letters.pm)
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: NEW
Version: master
Component: Architecture, internals, and plumbing
Product: Koha
Notice generation fails for Advanced Notices, Item Due, and Overdues when run
in shell.
This is due to the call to C4::Context->userenv->{'branch'} in Letters.pm (line
124) coming back as undefined. Since there is no "userenv" context in the
shell, it fails everytime.
Introduce a check for "userenv", so it doesn't try changing the branch (which
is already coming in from elsewhere) to the userenv branch. With this check,
notice generation works perfectly.
Related to Bug 8198 and Bug 8197.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/