Closed (fixed)
Project:
Paragraphs
Version:
8.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2016 at 23:02 UTC
Updated:
13 Sep 2016 at 21:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jmuzz commentedI ran the tests with several versions of search_api and found the commit that broke paragraphs_demo:
http://cgit.drupalcode.org/search_api/commit/?id=921b616
https://www.drupal.org/node/2612104
Comment #3
jmuzz commentedThe tests will pass again after removing this specific change from src/Entity/Index.php in search_api.
Comment #4
johnchqueThis seems to be working. :)
Comment #7
jmuzz commentedThe config is ok I think. I was able to get the search working by doing a single import of the index config after the module was installed. The search fields are not getting imported with the rest of the search index settings during the install for some reason.
Comment #8
jmuzz commentedDid not mean to change that.
Comment #10
johnchqueI've been looking in the code of search_api, as far as I've seen the problem comes when preSaving the index, in the issue @jmuzz refers they add an extra if to check if the index of the current field is valid. I think this needs to be fixed in search_api.
Comment #11
miro_dietikerI still can't see a reference to a search API issue that is pending and investigates this problem?
Comment #12
jmuzz commentedI don't think they knew about it. I created an issue in the search_api queue.
Comment #13
johnchqueAdded related issue. Thanks @jmuzz
Comment #14
jmuzz commentedMight be worth getting the tests passing even before that issue is fixed so testbot doesn't keep setting working patches to "Needs work".
Comment #16
johnchqueyes, meanwhile we can do that.
Comment #18
miro_dietikerfixed TODO to @todo following stds.
Committed. The demo tests shall indeed not block us from iterate on other issues.
Comment #19
miro_dietiker