The pathauto update from 1.2 to 1.3 changed the way the language is handled in pathauto_cleanstring(). Now it always tries to pass the language parameter to the transliteration_get() function (if enabled). Prior to 1.3, no parameter was passed and transliteration took the current language.

While this seems to work well for nodes (as they always have a language), I does not work well for taxonomy terms, as by default they use LANGUAGE_NONE, except you're using i18n/entity translation for translating taxonomy terms.

Passing LANGUAGE_NONE to transliteration_get() is not a good idea, as then it misses all language specific transformations (e.g. "ö" to "oe" in German). I suggest that in this case we should still pass NULL / the current language, which solves the issue for single-language sites.

Issue fork pathauto-2665370

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mh86 created an issue. See original summary.

zarenik’s picture

Had the same issue. Working.

apaderno’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
klausi’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, thanks!