Hi, I have a problem with the integration of Facetapi.
I have a content type "post" with a term reference field with widget autocomplete for free tagging.
Both the facetapi and the current search block show a term labeled 0.
The problem seems that taxonomy returns a tid 0 for content without tag.
_search_api_facetapi_facet_create_label calls $entities = entity_load($type, $values); and $label = entity_label($type, $entity);
So the term with id 0 is not loaded (there isn't an entity with id 0) and in the map there isn't no label.
This problem is due to a misconfiguration of mine, is a taxonomy bug or a facetapi integration bug?
Thank you

CommentFileSizeAuthor
empty facet_2.png64.67 KBpeximo
empty facet.png269.5 KBpeximo

Comments

jelle_s’s picture

legolasbo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This issue has not seen activity in over 2,5 years. I am therefore closing this issue to clean up the issue queue. Feel free to re-open and update this issue if you feel this issue is still relevant and of importance.