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

Incorrect alias for translated nodes in admin content overview

$
0
0

Problem/Motivation

In the overview of all content in the admin, the alias of the original translation is used for the translations in particular situations. It should be the alias of the translation, not of the original node.

Steps to reproduce

  1. Add a new content type
  2. Add a custom field which can be translated
  3. Set the "title" to be untranslatable
  4. Add a node in the original language (e.g. English) and fill in the title and custom field (e.g. "EN") and give it an alias (e.g. "/foo")
  5. Add a translation of the node in a second language (e.g. Dutch) and change the custom field (e.g. "NL") and give it an alias (e.g. "/bar")
  6. Go to the admin overview: /admin/content
  7. See that both the original as the translation have the same alias ("/foo") => this is incorrect
  8. Change the title of the content type to be translatable
  9. See that both the original as the translation have its correct alias ("/foo" for English and "/nl/bar" for Dutch) => this is correct

Proposed resolution

Even if the title is not translatable, it should link to the correct alias.


Viewing all articles
Browse latest Browse all 294800

Trending Articles



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