When anyone submits an edit to the alias, a new row is created in path alias table instead of updating existing row.

CommentFileSizeAuthor
#2 path_2.patch851 bytesZen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

I discovered this as well but wasn't sure if this was a bug or a feature (to prevent existing links from getting broken). If it is a feature, it is an annoying feature. I'd prefer the alias to be edited, rather than a new item being inserted.

(When there are multiple aliases, it would be nice if the node submission form showed me all available aliases. Ideally, I'd be able to add/delete/edit aliases from the node submission form.)

Zen’s picture

Status: Active » Needs review
FileSize
851 bytes

Patch attached - was checking the wrong variable.

-K

Dries’s picture

Status: Needs review » Fixed

Good catch. Committed. Thanks, Zen.

Zen’s picture

Version: 4.7.0-beta5 » x.y.z
Assigned: Unassigned » Zen
Status: Fixed » Needs review
Zen’s picture

Status: Needs review » Fixed

lol! Faster than a speeding bullet!

:P
-K

chx’s picture

Category: bug » feature
Priority: Critical » Normal
Status: Fixed » Active

Recategorizing as a feature request, because Dries' comment is a feature request.

Zen’s picture

Assigned: Zen » Unassigned
moshe weitzman’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)