Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
path.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2014 at 12:48 UTC
Updated:
19 Jan 2015 at 10:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tim.plunkettAdded tests and fixed it. The problem was that when checking for existing aliases, it was trying to use the new source, not the existing one.
Also removed some redundancy between the validate and submit.
Comment #3
tim.plunkettThis bug was introduced in #2209145: Move all path alias SQL queries to a single storage controller, when AliasStorage::aliasExists() was added. Previously $pid was always used in the query, and that issue switched to optionally using $source, which seems like an odd but purposeful change. I'll ping @slashsrm to take a look at this.
Comment #4
swentel commentedStill applies, looks good to me - cleanup is also fine.
Comment #6
alexpottThis issue addresses a major bug and is allowed per https://www.drupal.org/core/beta-changes. Committed a77605d and pushed to 8.0.x. Thanks!