https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38893
Bug ID: 38893
Summary: Longoverdue cronjob gives error when run with
"--library" flag and CircControl syspref set to "The
library you are logged in at"
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Command-line Utilities
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
Depends on: 9596
Bug 9596 added the ability to limit longoverdue by library. The determination
of which library to use for a given checkout is made based on the CircControl
system preference. One of the options for CircControl is "The library you're
logged in at."
If CircControl is set to "the library you're logged in at" and you run the
longoverdue cron with the --library flag set, you get the error "Use of
uninitialized value $lib in hash element at misc/cronjobs/longoverdue.pl line
484." because Koha doesn't know how to pick a branch -- no one is logged in.
Setting this to normal as it seems like mostly a "don't configure it like this"
issue. But maybe we should give the cron something to follow if the syspref is
logged-in-branch?
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9596
[Bug 9596] Allow longoverdue.pl to be configured per library on the command
line
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/