Ive noticed that if i associate a taxonomy term with a paragraphs field set (entity i think) when creating a new piece of content, the content doesnt show in the associated taxonomy term page.
The reasoning i guess is because paragraphs is its own entity attached to the main entity, but the database and drupal taxonomy sees it as a separate entity and not as apart of a whole package.
This should communicate within the database to associate the Paragraph entity with the main content entity, otherwise all taxonomy terms and term pages don't display the content with terms added to a paragraph bundle entity.
Comments
Comment #2
destinationsound CreditAttribution: destinationsound commentedComment #3
destinationsound CreditAttribution: destinationsound commentedComment #4
destinationsound CreditAttribution: destinationsound commentedComment #5
destinationsound CreditAttribution: destinationsound commentedComment #6
Vincent_Jo CreditAttribution: Vincent_Jo commentedHi,
I´m confirming this for the D8 version too!
It took me quite a while to locate this as a paragraphs issue :/
Is there a workaround? (doesn´t seem to be fixed in D7)
... otherwise I have to rebuild the content-types without paragraph-bundles (with a couple of taxonomy-vocabularies in it)
regards
Vincent
Comment #7
DuneBLThis looks like the CONTEXTUAL FILTERS
Content: Has taxonomy term ID
is not what we should use in this case...Something like
Paragraph: Has taxonomy term ID
is missing... or even betterHost Entity:Paragraph: Has taxonomy term ID
I take the responsibility to transform this bug into a feature request
(Also for D8)
Comment #8
DuneBLI could simulate this missing behavior with the following process:
1-Install/enable TVI (Taxonomy Views Integrator)
2-Copy the page view from the regular taxonomy view
admin/structure/views/view/taxonomy_term
3-In the newly created page view:
A-Add a relation: select the field (in your node) that contains your paragraphs
B-Add a contextual filter: select the taxonomy field of your paragraph
C-Add a header of your view: rendered entity - taxonomy term (select the id according to your paragraph field)
4-In the vocabulary setting
admin/structure/taxonomy/manage/your_voc
select the view and the displayComment #9
BerdirDefinitely a feature and not a bug, yes. If you want pages to show up then add the term field to the node itself, this use case simply isn't supported right now and I am not convinced it should be.
Comment #10
DuneBL@Berdir
As all paragraphs have an host, semantically, we can say that this taxonomy field is added to the host (through the paragraph)
This is why having this contextual filter
Host Entity:Paragraph: Has taxonomy term ID
is a good idea.Comment #11
kay_v CreditAttribution: kay_v as a volunteer commentedThis issue looks closely related to #2692333: Bubble taxonomy references on paras up to parent node. The discussions would likely inform each other. Adding the connection fwiw.
Comment #12
miro_dietikerMarking this here as a duplicate of the other issue. There's too much overlap and it's basically the same meta requirement.
Also updating the other issue.