Bug 20048

Summary: koha-zebra missing --status
Product: Koha Reporter: Mark Tompsett <mtompset>
Component: Searching - ZebraAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact:
Severity: minor    
Priority: P5 - low CC: maksim.sen, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17468
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 20048: --status shell command line check missing

Description Mark Tompsett 2018-01-19 15:57:03 UTC
Running a koha-zebra --status kohadev told me --status was an invalid option. Turns out the option was forgotten to be added around line 225.
Comment 1 Mark Tompsett 2018-01-19 16:03:49 UTC
Created attachment 70757 [details] [review]
Bug 20048: --status shell command line check missing

TEST PLAN
1) Run the following commands
    git checkout -b bug_20048 origin/master
    sudo perl ~/misc4dev/cp_debian_files.pl
    sudo koha-zebra --status kohadev
   -- Will get error message
2) Run the following commands
    git bz apply 20048
    sudo perl ~/misc4dev/cp_debian_files.pl
    sudo koha-zebra --status kohadev
   -- Will not get error message, but actual status
3) NOTE: Koha QA Test tools do not check bash scripts.
Comment 2 Maksim Sen 2018-01-26 22:05:29 UTC
Hello M. Tompsett,

Would it be possible to add a step on how/where to get misc4dev and cp_debian_files.pl for the test?

Thank you,

Maksim Sen
Comment 3 Tomás Cohen Arazi (tcohen) 2018-01-29 13:36:47 UTC
The reason for this bug is that a patch was lost when pushing bug 17468. This was addressed by the release manager already.