Summary: | Warning when reindexing without parameters | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | Searching - Elasticsearch | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P5 - low | CC: | jonathan.druart, martin.renvoize, nick |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
19.05.00
|
|
Circulation function: | |||
Bug Depends on: | 21872 | ||
Bug Blocks: | |||
Attachments: |
Bug 22892: Remove warning from rebuild_es if --processes not passed
Bug 22892: Remove warning from rebuild_es if --processes not passed |
Description
Katrin Fischer
2019-05-11 12:02:56 UTC
Created attachment 89646 [details] [review] Bug 22892: Remove warning from rebuild_es if --processes not passed Use of uninitialized value $processes in numeric lt (<) at misc/search_tools/rebuild_elasticsearch.pl line 199. We want the number of processes to be set to 1 by default, and then assign it to $slice_count Test plan: Run the script with and without --processes and confirm that the warning went away. Created attachment 89721 [details] [review] Bug 22892: Remove warning from rebuild_es if --processes not passed Use of uninitialized value $processes in numeric lt (<) at misc/search_tools/rebuild_elasticsearch.pl line 199. We want the number of processes to be set to 1 by default, and then assign it to $slice_count Test plan: Run the script with and without --processes and confirm that the warning went away. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Trivial fix - going straight to PQA. Awesome work all! Pushed to master for 19.05 Bug with enhancement not in 18.11.x series. |