- Issue created by @semanthis
- 🇨🇦Canada kdborg@gmail.com
I created a custom display type and. I'm seeing this issue.
When adding a new display to an existing view that uses facet filters (Facets 3.x) in Drupal 10, an error message appears:
Drupal\facets\Exception\Exception: No facet source defined for facet. in Drupal\facets\Entity\Facet->getQueryType() (line 494 of XXX/web/modules/contrib/facets/src/Entity/Facet.php).
The page display requires a path, but due to the error, the configuration tab to edit the path is inaccessible, and can neither be edited or the view be saved.
search_api_index_inhalte
base table) and add facet filters. Confirm that the view and its facets work correctly.It appears that new Views displays are not properly linked to a valid facet source upon creation, leading to this error. The likely cause is that during the creation process , the facet source for displays is either not registered or not accessible in the configuration form. A patch is needed to ensure that when a new Views display is added, its facet source is properly defined and registered so that the configuration form (including the required path field) can be accessed.
Active
3.0
Code
I created a custom display type and. I'm seeing this issue.