There are two domains with Domain Path module: domain1.com and domain2.com.

When I edit any page on domain1.com the tab "Domain-specific paths" have by default:

domain1.com
[                               ]
domain2.com
[schedule                       ]

This "schedule" appears on any edit, even if I've removed it on the previous edit. There's no such page as domain2.com/schedule at all.

Comments

vyahhi’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta2
agentrickard’s picture

Category: support » bug
Status: Active » Postponed (maintainer needs more info)

Sound like a bug, but I've never seen that behavior.

Does the 'schedule' value appear at all in the table {domain_path}? It would be in the 'alias' column.

SELECT * FROM domain_path WHERE alias = 'schedule';
vyahhi’s picture

It actually is node/2 on domain1.com:

dpid	domain_id	source		alias		language	entity_type		entity_id 
573 	0		node/2		schedule	und		node			2

When I rename this node's domain path from "schedule" to "schedule2", then this "schedule2" will erroneously appear instead of previous "schedule" (in domain2's domain-path field for all nodes, on edit).

vyahhi’s picture

I've done "Delete domain-specific aliases" for node/2 and it cured the situation.
After that I've returned "schedule" alias for node/2 and it's buggy again.

Additional info: node/2 was created on domain1.com before Domain Path module installation.

vyahhi’s picture

Status: Postponed (maintainer needs more info) » Active
agentrickard’s picture

What does this line mean?

After that I've returned "schedule" alias for node/2 and it's buggy again.

How did you add the 'schedule' alias?

agentrickard’s picture

I see the problem.

agentrickard’s picture

Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new561 bytes

And a patch. If this works, it needs to be backported to 6.x.

vyahhi’s picture

Line
After that I've returned "schedule" alias for node/2 and it's buggy again.
means that:
1. go to domain1.com/node/2
2. press "edit"
3. add domain-path alias "schedule" for domain1
4. press "save"
5. the bug appears

vyahhi’s picture

Status: Needs review » Patch (to be ported)

This patch works!
Thank you!

agentrickard’s picture

Status: Patch (to be ported) » Fixed
StatusFileSize
new577 bytes

Patch for d6, committed.

karnal69’s picture

I'm having a similar issue, where I publish content. If I don't add Domain-specific paths when creating the content, then go back to edit the content, the assigned domains have something like:

[ products products]

[services servies ]

in 2 of the domains. Always double, and always the same two domains, regardless of where the content is published to. In some cases, I'm not publishing to either of these domains. Deleting them via clearing out the text inputs and saving does nothing - they are there again when I edit the content. Same with selecting 'Delete domain-specific aliases' - they still remain. If I clear them out an put an alias in a different domain, then they disappear.

Before I put the alias in the other domain and deleted them, I checked the DB and they were indeed there. After selecting 'Delete domain-specific aliases', they were gone from the DB, but still would be there every time I edited the page. Only after adding an alias to another domain did they not return.

I'm not 100% sure if these are the exact steps to recreate the issue, but I do know I've had this problem on and off for a week now, so there's definitely something going on...

I'm running 7.x.1.0-beta2 and have tried 1327202-wrong-path-default.patch, but the patch failed to install for me, with the error:

can't find file to patch at input line 5

If you need any more info, let me know.

Cheers,
K.

agentrickard’s picture

Upgrade to beta3. This has been fixed and a new release rolled because of the severity of the issue.

Please do not re-file against closed issues without upgrading.

See http://drupal.org/patch/apply for more information about patching.

Status: Fixed » Closed (fixed)

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