Problem:
- create content named "test" in a (any) language
- create content named "test" in language neutral

Result:
the alias "test" will be assigned to both content items.

Cause:
In path_pathauto_is_alias_reserved the current code makes sure that a localised alias does not interfere with any language neutral alias, which is fine.
however, it should check if _any_ alias exists when creating language neutral content.

Patch will follow

(there is some similarity between this and D6 issue #593048: _pathauto_alias_exists handles language-neutral aliases wrong like comment #25)

Files: 
CommentFileSizeAuthor
#1 duplicate_alias_issue-2067191-1.patch1.32 KBrv0
PASSED: [[SimpleTest]]: [MySQL] 322 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new1.32 KB
PASSED: [[SimpleTest]]: [MySQL] 322 pass(es).
[ View ]

Patch breaks up the query adding the language conditionally
Also removes order by (why would we want to order something we're casting to boolean later on?)