Running 1.x-dev on a vanilla 8.2.5 installation.
Steps to reproduce:
Created three fields on a content type called "People": first_name, middle_name, last_name
Added following pathauto pattern: people/[node:field_people_fname]-[node:field_people_mname]-[node:field_people_lname]
Added dummy content, i.e.: fname= John, nname = Q., lname = Doe
Save node. URL alias appears correctly: people/john-q-doe
Edited node, removing middle, i.e. fname = John, lname = Doe
Resaved node. URL alias does not update as expected. Still reads people/john-q-doe.
Unpublishing node triggers an update of the URL alias, i.e. people/john-doe
Please advise.
Comments
Comment #2
jasloe CreditAttribution: jasloe as a volunteer commentedComment #3
myLies CreditAttribution: myLies as a volunteer commentedComment #4
myLies CreditAttribution: myLies as a volunteer commentedHi @minorscience
I don't think it's a bug
after removing values of fields which require in alias - alias pattern don't have a full resources for creating new alias
so it use old alias
Comment #5
BerdirNo value in a field should then simply result in an empty token that is replaced.
I don't see a reason why this should happen, can someone else reproduce or provide a failing test?