Bug 40466

Summary: Zebra status misleading in "Server information" tab.
Product: Koha Reporter: Janusz Kaczmarek <januszop>
Component: AboutAssignee: Janusz Kaczmarek <januszop>
Status: Pushed to main --- QA Contact: David Cook <dcook>
Severity: normal    
Priority: P5 - low CC: dcook, flaterdavid, pedro.amorim
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.11.00
Circulation function:
Attachments: Bug 40466: Zebra status misleading in "Server information" tab
Bug 40466: Zebra status misleading in "Server information" tab
Bug 40466: Zebra status misleading in "Server information" tab

Description Janusz Kaczmarek 2025-07-22 10:51:21 UTC
After changes to about.pl the checking of the Zebra status has landed in "sysinfo" section instead of "about". As a result "Zebra status" always reports "Running" even if Zebra is off.

To verify: turn zebra server off (koha-zebra --stop <instance>) and check in "Server information" the "Zebra status" info. You will see "Running".
Comment 1 Janusz Kaczmarek 2025-07-22 10:57:53 UTC
Created attachment 184467 [details] [review]
Bug 40466: Zebra status misleading in "Server information" tab

After changes to about.pl the checking of the Zebra status has landed
in "sysinfo" section instead of "about". As a result "Zebra status"
always reports "Running" even if Zebra is off.

Test plan:
==========
1. Turn zebra server off (koha-zebra --stop kohadev) and check in
   "Server information" (More > About Koha) the "Zebra status" info.
   You will see "Running".
2. Apply the patch ; restart_all ; koha-zebra --stop kohadev
3. Check "Zebra status" in "Server information". You should see now:
   "Zebra server seems not to be available. Is it started?".
Comment 2 David Flater 2025-07-22 16:08:26 UTC
Created attachment 184486 [details] [review]
Bug 40466: Zebra status misleading in "Server information" tab

After changes to about.pl the checking of the Zebra status has landed
in "sysinfo" section instead of "about". As a result "Zebra status"
always reports "Running" even if Zebra is off.

Test plan:
==========
1. Turn zebra server off (koha-zebra --stop kohadev) and check in
   "Server information" (More > About Koha) the "Zebra status" info.
   You will see "Running".
2. Apply the patch ; restart_all ; koha-zebra --stop kohadev
3. Check "Zebra status" in "Server information". You should see now:
   "Zebra server seems not to be available. Is it started?".

Signed-off-by: David Flater <flaterdavid@gmail.com>
Comment 3 David Cook 2025-07-22 23:53:06 UTC
Created attachment 184524 [details] [review]
Bug 40466: Zebra status misleading in "Server information" tab

After changes to about.pl the checking of the Zebra status has landed
in "sysinfo" section instead of "about". As a result "Zebra status"
always reports "Running" even if Zebra is off.

Test plan:
==========
1. Turn zebra server off (koha-zebra --stop kohadev) and check in
   "Server information" (More > About Koha) the "Zebra status" info.
   You will see "Running".
2. Apply the patch ; restart_all ; koha-zebra --stop kohadev
3. Check "Zebra status" in "Server information". You should see now:
   "Zebra server seems not to be available. Is it started?".

Signed-off-by: David Flater <flaterdavid@gmail.com>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Comment 4 David Cook 2025-07-22 23:53:20 UTC
Good catch!
Comment 5 Lucas Gass (lukeg) 2025-07-23 22:43:41 UTC
Nice work everyone!

Pushed to main for 25.11