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

CommentLazyBuilders should be language aware

$
0
0

Problem/Motivation

CommentLazyBuilders always check the default entity language. Even when you view a comment translation you will get links to the default language instead of the translation you are viewing.

Steps to reproduce:

  1. Make your comment type translatable
  2. Create a comment and then translate it
  3. View the comment translation, e.g. visit /fr/comment/1
  4. Inspect the local tasks links, you will see that they point to the default language, like /comment/1/edit instead of the translation /fr/comment/1/edit

Viewing all articles
Browse latest Browse all 292776

Trending Articles



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