Pathauto seems to be preventing the setting of url aliases on content nodes. An alias typed into the URL alias field is not saved when the page is saved. There is no error, it just silently ignores whatever you type.

screen.png79.17 KBinghamn
Members fund testing for the Drupal project. Drupal Association Learn more


inghamn created an issue. See original summary.’s picture

I'm seeing this as well if the langcode of an alias doesn't match the langcode of the entity. Is there an entry in the url_alias table for the relevant node?

I was able to find all aliases without a language with SELECT * FROM url_alias WHERE langcode="und";

After running UPDATE url_alias SET langcode="en" WHERE langcode="und";, then reloading the node's edit page, the alias field appeared.

kokrull’s picture

Getting the same here, drupal 8.4.4, and yup, silently ignored. not used any lang code or whatever as far as I am aware, just glad it isn't just me though.

Berdir’s picture

Status: Active » Reviewed & tested by the community

There were various reports since 8.4 about strange effects. Only found time now to start looking into it. Can you check if #2945734: Fix automated test failures in 8.x-1.x is fixing this for you?

If not, a failing test would be helpful.