Closed (duplicate)
Project:
Facets
Version:
8.x-1.0-alpha4
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Aug 2016 at 17:47 UTC
Updated:
9 Sep 2016 at 08:15 UTC
Jump to comment: Most recent
When trying to create a facet from the search api pages source it does not load the fields to be referenced and if i where to hit save i get an HTTP ERROR 500, no errors on the system log.
It works fine when using views for the source but wont work at all with the Search API pages module.
Comments
Comment #2
wolfhowling commentedComment #3
martinpe commented+1!
Found the problem:
When trying to create a Facets from a Facet Source owned by search_api, then a serious error occurs:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "search_api.results_static_cache". in Drupal\Component\DependencyInjection\Container->get()I looked into the facet module and on Line 54 in SearchApiBaseFacetSource.php facet is trying to access a service which does not exist.
Maybe search_api has renamed or removed it. Whatever it is, the code needs to be fixed ASAP.
Comment #4
borisson_That is being discussed/fixed in #2776711: non-existent service "search_api.results_static_cache"
Comment #5
martinpe commentedYes, saw that afterwards. And why is this not fixed yet?
Comment #6
borisson_This probably means that something with the facet source implemented in search api pages is wrong, but it also might be related to the same issue as #2776711: non-existent service "search_api.results_static_cache".
I'll keep this issue here for now, but depending on the outcome in the other issue we might have to move this the Search API Pages module.
You are free to help us out by helping figure out #2777483: Unmet dependencies - as we're getting to the root of the problem there.
Comment #7
borisson_Closing this, as it's no longer relevant.