Problem/Motivation

When creating content on multiple domains and using the 'generate domain specific alias' toggle, it appears to be uniquifying the alias for each domain, but it shouldn't.

Steps to reproduce

Create a piece of content on domain #1 and #2 and set 'auto generate domain' and save the content. The alias will generate correctly for domain #1, but will append -0 to domain #2.

Additionally, if you try to manually update the alias for domain #2, a validation message shows up telling you the alias already exists for the domain.

Proposed resolution

Uniquification should only happen per-domain.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jfurnas created an issue. See original summary.

mably made their first commit to this issue’s fork.

jfurnas’s picture

Can confirm that this patch (at least for 2.x) resolves the uniquify issue.

  • mably committed 29abc7e8 on 3.x
    fix: #3582698 Path aliases are being uniquified across domains
    
    By:...

  • mably committed 5b560a80 on 2.x
    fix: #3582698 Path aliases are being uniquified across domains
    
    By:...
mably’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.