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.
| Comment | File | Size | Author |
|---|---|---|---|
| screen.png | 79.17 KB | inghamn |
Comments
Comment #2
steven spasbo commentedI'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_aliastable 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.Comment #3
kokrull commentedGetting 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.
Comment #4
berdirThere 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.
Comment #5
berdirComment #6
gomez_in_the_south commentedI 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.
Comment #7
wotney commentedI'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
Comment #8
karamveersingh commentedI 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?
Comment #9
jasonawantIs this a duplicate of #2756703: URL Alias not saving in some cases?
Comment #10
karamveersingh commentedYes, it's being related to this: https://www.drupal.org/project/pathauto/issues/2756703 but issue has still not resolved.
Comment #11
mably commented