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.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | 1327202-d6-path.patch | 577 bytes | agentrickard |
| #8 | 1327202-wrong-path-default.patch | 561 bytes | agentrickard |
Comments
Comment #1
vyahhi commentedComment #2
agentrickardSound 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.
Comment #3
vyahhi commentedIt actually is node/2 on domain1.com:
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).
Comment #4
vyahhi commentedI'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.
Comment #5
vyahhi commentedComment #6
agentrickardWhat 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?
Comment #7
agentrickardI see the problem.
Comment #8
agentrickardAnd a patch. If this works, it needs to be backported to 6.x.
Comment #9
vyahhi commentedLine
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
Comment #10
vyahhi commentedThis patch works!
Thank you!
Comment #11
agentrickardPatch for d6, committed.
Comment #12
karnal69 commentedI'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.
Comment #13
agentrickardUpgrade 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.