Error when faceting on flag and enabling "List item label"

Created on 17 May 2020, about 4 years ago
Updated 16 April 2024, 2 months ago

After enabling a flag for indexing, I created a facet for it and it works fine.

When I enable "List item label" in the facet settings (otherwise the flag is displayed as a numeric key), I am no longer able to access the search page:
"The website encountered an unexpected error. Please try again later."

Here is the dblog event:
Drupal\facets\Exception\InvalidProcessorException: This field has no datasource, there is no valid use for this processor with this facet in Drupal\facets\Plugin\facets\processor\ListItemProcessor->build() (line 109 of /modules/facets/src/Plugin/facets/processor/ListItemProcessor.php).

I know it involves Views, Facets and Flag modules as well, but it seems the Facets module is missing something that is supposed to be there ... just humble guess.

Thanks for any help about it.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇷Brazil ginorodrigues

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024