| Summary: | Export.pl errors out on command line if --id_list_file is not provided | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Kyle M Hall (khall) <kyle> |
| Component: | Tools | Assignee: | Kyle M Hall (khall) <kyle> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | chris |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Bug 13197 - Export.pl errors out on command line if --id_list_file is not provided
Bug 13197 - Export.pl errors out on command line if --id_list_file is not provided Bug 13197 - Export.pl errors out on command line if --id_list_file is not provided |
||
|
Description
Kyle M Hall (khall)
2014-11-04 18:31:28 UTC
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. |