Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293129

[regression] "Content: Has taxonomy term ID (with depth)": instead of displaying the untranslated term title, no term title is displayed

$
0
0

Problem/Motivation

Follow up to #2765297: Return translated term name on views "Content: Has taxonomy term ID (with depth)" which seems to have caused a regression where in certain situations the token replacement now returns no term label.

This might be caused when getTranslationFromContext return NULL, which according to the Interface docblock it can do, but looking at the implementation in \Drupal\Core\Entity\EntityRepository::getTranslationFromContext this will never happen.

Steps to reproduce

Navigate to a Taxonomy Term page in English and the term title is displayed.
English Term Title

Then navigate to the same Term page translated to another language and the term title is not displayed.
Swahilih No Term Title

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>