Summary: | INDEXER_DAEMON default is incorrect in koha-indexer | ||
---|---|---|---|
Product: | Koha | Reporter: | Ivan Brown <I.Brown> |
Component: | Searching | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | chris, mirko, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | Linux | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 13753: koha-indexer contains invalid statement
Bug 13753: koha-indexer contains invalid statement [PASSED QA] Bug 13731: Suggestions reason does not save on updating the status [PASSED QA] Bug 13753: koha-indexer contains invalid statement |
Description
Ivan Brown
2015-02-24 13:10:53 UTC
Created attachment 36141 [details] [review] Bug 13753: koha-indexer contains invalid statement An incorrect conditional makes the indexer daemon fail to load. To test: - Enable the indexer daemon on packages [1] - Restart koha-common: $ service koha-common restart - Run $ ps waux | grep koha-indexer => FAIL: there's no reference to the rebuild_zebra.pl script (line should look like *rebuild_zebra.pl -daemon*) Run ps -ef | grep rebuild_zebra.pl too to make sure. - Apply the patch, repeat the steps => SUCCESS: the rebuild_zebra.pl script is ran - Sign off :-D Thanks Sponsored-by: Universidad Nacional de Cordoba Created attachment 36169 [details] [review] Bug 13753: koha-indexer contains invalid statement An incorrect conditional makes the indexer daemon fail to load. To test: - Enable the indexer daemon on packages [1] - Restart koha-common: $ service koha-common restart - Run $ ps waux | grep koha-indexer => FAIL: there's no reference to the rebuild_zebra.pl script (line should look like *rebuild_zebra.pl -daemon*) Run ps -ef | grep rebuild_zebra.pl too to make sure. - Apply the patch, repeat the steps => SUCCESS: the rebuild_zebra.pl script is ran - Sign off :-D Thanks Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Not in the scope of this patch: I had to manually start koha-indexer. That is neither mentioned here nor on the Wiki, so I wonder if it is supposed to run automatically? (In reply to Mirko Tietgen from comment #3) > Not in the scope of this patch: I had to manually start koha-indexer. That > is neither mentioned here nor on the Wiki, so I wonder if it is supposed to > run automatically? Mirko, have you set /etc/default/koha-common ? And restarted the koha-common service? (In reply to Tomás Cohen Arazi from comment #4) > (In reply to Mirko Tietgen from comment #3) > > Not in the scope of this patch: I had to manually start koha-indexer. That > > is neither mentioned here nor on the Wiki, so I wonder if it is supposed to > > run automatically? > > Mirko, have you set /etc/default/koha-common ? And restarted the koha-common > service? Yes, I did. (In reply to Mirko Tietgen from comment #5) > (In reply to Tomás Cohen Arazi from comment #4) > > (In reply to Mirko Tietgen from comment #3) > > > Not in the scope of this patch: I had to manually start koha-indexer. That > > > is neither mentioned here nor on the Wiki, so I wonder if it is supposed to > > > run automatically? > > > > Mirko, have you set /etc/default/koha-common ? And restarted the koha-common > > service? > > Yes, I did. Sorry, I did not read carefully. I set /etc/koha/koha-common.conf. I did not set /etc/default/koha-common as it was not mentioned in the wiki. Created attachment 36285 [details] [review] [PASSED QA] Bug 13731: Suggestions reason does not save on updating the status On the suggestion list view, if you set a status, it won't be saved. Test plan: 1/ Create a suggestion 2/ Go on the suggestion list view (suggestion/suggestion.pl) 3/ Select a suggestion and marked it as "rejected" (or the status you want) and choose a reason 4/ Save 5/ Browse you suggestions DB table (using your favorite MySQL CLI) and verify that the "reason" field is correctly filled. Works as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Created attachment 36286 [details] [review] [PASSED QA] Bug 13753: koha-indexer contains invalid statement An incorrect conditional makes the indexer daemon fail to load. To test: - Enable the indexer daemon on packages [1] - Restart koha-common: $ service koha-common restart - Run $ ps waux | grep koha-indexer => FAIL: there's no reference to the rebuild_zebra.pl script (line should look like *rebuild_zebra.pl -daemon*) Run ps -ef | grep rebuild_zebra.pl too to make sure. - Apply the patch, repeat the steps => SUCCESS: the rebuild_zebra.pl script is ran - Sign off :-D Thanks Sponsored-by: Universidad Nacional de Cordoba Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Patch pushed to master. Pushed to 3.18.x will be in 3.18.5 |