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.

CommentFileSizeAuthor
screen.png79.17 KBinghamn

Comments

inghamn created an issue. See original summary.

steven spasbo’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.

berdir’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)
gomez_in_the_south’s picture

I was experiencing the same symptoms as described - changes to the url alias were just being ignored. I was still using Pathauto 8.x-1.0-beta1. Upgrading to Pathauto 8.x-1.2 that includes the patch mentioned in #4 fixed the issue.

wotney’s picture

I'm still getting the same issue...
Drupal 8.7.4
PathAuto 8.x-1.4

I've just discovered that my flavour of the problem lies in only if the node is a clone of another.

See here for a fix: https://www.drupal.org/project/pathauto/issues/2881280

karamveersingh’s picture

I am also facing the same type of issue with Drupal-8.7.3 and PathAuto-8.x.1.4 version. But my problem is a little bit different i.e.
Its not being saved the existing `URL alias` if I uncheck the `Generate automatic URL alias` option. Always I have to re-edit the same node and manually save the alias if I change the language options.
FYI, I am using a multi-language feature on our project, any suggestion please?

jasonawant’s picture

karamveersingh’s picture

Yes, it's being related to this: https://www.drupal.org/project/pathauto/issues/2756703 but issue has still not resolved.

mably’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.