If one attempts to run export.pl from the command line without the --id_list_file switch, it errors out with the following message: cannot open 0: No such file or directory at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 209.
Created attachment 33211 [details] [review] Bug 13197 - Export.pl errors out on command line if --id_list_file is not provided If one attempts to run export.pl from the command line without the --id_list_file switch, it errors out with the following message: cannot open 0: No such file or directory at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 209. Test Plan: 1) Run tools/export.pl from the command line without the --id_list_file option 2) Note the error 3) Apply this patch 4) Repeat step 1 5) Note the error does not occur
Created attachment 33212 [details] [review] Bug 13197 - Export.pl errors out on command line if --id_list_file is not provided If one attempts to run export.pl from the command line without the --id_list_file switch, it errors out with the following message: cannot open 0: No such file or directory at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 209. Test Plan: 1) Run tools/export.pl from the command line without the --id_list_file option 2) Note the error 3) Apply this patch 4) Repeat step 1 5) Note the error does not occur
Created attachment 33218 [details] [review] Bug 13197 - Export.pl errors out on command line if --id_list_file is not provided If one attempts to run export.pl from the command line without the --id_list_file switch, it errors out with the following message: cannot open 0: No such file or directory at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 209. Test Plan: 1) Run tools/export.pl from the command line without the --id_list_file option 2) Note the error 3) Apply this patch 4) Repeat step 1 5) Note the error does not occur Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Is it possible that this is also fixed by bug 13053 (PQA)? I needed to apply 13053 because I had an error message about missing permissions that it fixed, but then I could run the script without the parameter and no errors were shown.
It looks like I jumped the gun with this. It was already fixed in master when I posted this patch by bug 13085. *** This bug has been marked as a duplicate of bug 13085 ***