Bug 17204

Summary: Rancor Z39.50 search fails under plack
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: CatalogingAssignee: Nick Clemens (kidclamp) <nick>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: abl, josef.moravec, kyle, m.de.rooy, mtj, 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:
Circulation function:
Bug Depends on: 17201    
Bug Blocks:    
Attachments: Bug 17204 - Rancor Z39.50 search fails under plack
Bug 17204 - Rancor Z39.50 search fails under plack
Bug 17204: Rancor Z39.50 search fails under plack

Description Nick Clemens (kidclamp) 2016-08-26 13:42:54 UTC
Enable plack
Open advanced cataloging editor
Perform a Z39.50 search
Internal Search Error
Disable plack
Perform a Z39.50 Search
Successful results
Comment 1 Nick Clemens (kidclamp) 2016-08-26 15:15:12 UTC
Created attachment 54938 [details] [review]
Bug 17204  - Rancor Z39.50 search fails under plack

MetaSearcher.pm forks children to handle searching each server. When the
process waits for the children it never continues.

The simplest solution here is to exclude the metasearcher service from
running under plack
Comment 2 Josef Moravec 2016-10-11 13:33:05 UTC
Created attachment 56184 [details] [review]
Bug 17204 - Rancor Z39.50 search fails under plack

MetaSearcher.pm forks children to handle searching each server. When the
process waits for the children it never continues.

The simplest solution here is to exclude the metasearcher service from
running under plack

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 3 Katrin Fischer 2016-11-06 11:13:17 UTC
I am not sure why, but this is not working for me.
Testing on a kohadevbox.
Applied patch, activated Plack for the instance, restarted Plack.
I receive an error message [object Object] or similar when I try searching in Rancor and it never finishes.

I am not sure if this is me or another error so not changing status, maybe another QA person is more successful.
Comment 4 Tomás Cohen Arazi (tcohen) 2016-11-08 17:38:29 UTC
Created attachment 57343 [details] [review]
Bug 17204: Rancor Z39.50 search fails under plack

MetaSearcher.pm forks children to handle searching each server. When the
process waits for the children it never continues.

The simplest solution here is to exclude the metasearcher service from
running under plack

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Comment 5 Kyle M Hall (khall) 2016-11-10 13:39:00 UTC
Pushed to master for 16.11, thanks Nick!
Comment 6 Mason James 2016-12-14 10:31:55 UTC
Pushed to 16.05.x, for 16.05.06 release