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

destinationsound created an issue. See original summary.

destinationsound’s picture

Title: Paragraphs taxonomy field not showing content on taxonomy page. » Taxonomy term field doesn't link main content to selected term
Issue summary: View changes
destinationsound’s picture

Issue summary: View changes
destinationsound’s picture

Category: Support request » Bug report
destinationsound’s picture

Priority: Normal » Major
Issue summary: View changes
Vincent_Jo’s picture

Hi,

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

DuneBL’s picture

Version: 7.x-1.0-rc4 » 8.x-1.x-dev
Category: Bug report » Feature request

This 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 better Host Entity:Paragraph: Has taxonomy term ID

I take the responsibility to transform this bug into a feature request
(Also for D8)

DuneBL’s picture

I 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 display

Berdir’s picture

Priority: Major » Normal

Definitely 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.

DuneBL’s picture

@Berdir

this use case simply isn't supported right now and I am not convinced it should be.

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.

kay_v’s picture

This 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.

miro_dietiker’s picture

Status: Active » Closed (duplicate)
Related issues: +#2692333: Bubble taxonomy references on paras up to parent node

Marking 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.