[Koha-bugs] [Bug 14709] The export tool is broken if used from the command line

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 24 11:09:22 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14709

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 41818
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41818&action=edit
Bug 14709: Do not access to C4::Context->userenv from the commandline

The script dies with
  Can't use an undefined value as a HASH reference at tools/export.pl
line 149.
if it is called from the command line.

This is introduced by bug 13040.

The C4::Context->userenv is not defined in this case.

Test plan:
Execute the script using the command line.
With the patch applies you should not get the error.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list