Bug 40466 - Zebra status misleading in "Server information" tab.
Summary: Zebra status misleading in "Server information" tab.
Status: Pushed to main
Alias: None
Product: Koha
Classification: Unclassified
Component: About (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Janusz Kaczmarek
QA Contact: David Cook
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-22 10:51 UTC by Janusz Kaczmarek
Modified: 2025-07-23 22:43 UTC (History)
3 users (show)

See Also:
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 (2.53 KB, patch)
2025-07-22 10:57 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 40466: Zebra status misleading in "Server information" tab (2.58 KB, patch)
2025-07-22 16:08 UTC, David Flater
Details | Diff | Splinter Review
Bug 40466: Zebra status misleading in "Server information" tab (2.63 KB, patch)
2025-07-22 23:53 UTC, David Cook
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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