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

minorscience created an issue. See original summary.

jasloe’s picture

Issue summary: View changes
myLies’s picture

Assigned: Unassigned » myLies
myLies’s picture

Assigned: myLies » Unassigned

Hi @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

Berdir’s picture

Status: Active » Postponed (maintainer needs more info)

No 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?