Place slug fails to update when place's display name is changed

The slug for a place is based on its display name, thus the slug should update when the display name is updated. However, the actual update is conditioned on a change in the name, not the display name.

Step 1: Start with a place that has the name, display name, and slug set to “testing1”.

image

image

Step 2: Change only the display name to “testing2”.

image

The display name does update, but the slug is still based on the previous display name.

image

Step 3: Change only the name to “testing3”, leaving the display name alone.

image

The result is that the slug has only now updated to the new display name set in step 2.

image





The behavior I expected was that changing the name alone would have no effect on the slug, but that changing the display name would change the slug.