Closed (fixed)
Project:
Domain
Version:
7.x-3.5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2012 at 05:08 UTC
Updated:
21 Dec 2012 at 20:00 UTC
Jump to comment: Most recent file
This is a strange issue that just crept up after updating to 7.x-3.5. If any user publishes content from any domain other than the first (ID 1), a "1" is prepend to the alias.
Example:
Instead of this (proper):
<a href="/article/drupal-rocks">Drupal Rocks</a>
This gets created instead:
<a href="1/article/drupal-rocks">Drupal Rocks</a>
It gets prepended to every instance that node is displayed. When editing the node it shows the proper alias "article/drupal-rocks". Every listing of the node has a "1" prepended to the alias.
It could be another module causing this, since I did update several at the same time yesterday. Just curious if anyone knows off the top their heads what could be causing this.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 1859794-soource-domain.patch | 690 bytes | agentrickard |
Comments
Comment #1
duntuk commentedAnother interesting thing is the contextual links "edit" has the "1" prepended, but "delete" does not (it's proper).
Comment #2
duntuk commentedOK... found something else out.
This ONLY happens if the domain ID is 2 digits (could be more, I don't have that many domains to test), then the first digit gets appended to the URL...
e.g. Domain ID 32
e.g. Domain ID 27
e.g. Domain ID 12
e.g. Domain ID 8 (not an issue)
e.g. Domain ID 3 (not an issue)
etc...
Comment #3
pr3dr49 commentedSame issue here, just expanded to more than one domain. On a site hosting five domains, content published to more than one domain (send to all affiliates NOT checked) looks right on the source domain. All other domains prepend /domain_id/ to URLs, which leads to content not find. Manually deleting this string from the URL produces the right content on all domains. In my case, this affects the content printed in views. When send to all affiliates IS selected, this problem does not persist and links work as expected. Clean URLs and domain alias are enabled.
Comment #4
zcrow commentedSame thing here. Pretty much is breaking my site navigation right now.
It isn't only a '1' that is being added. Seems that it has something to do with the owner of page so it can be pretty much any number at all.
If I change the source domain of a node then that node will be able to access the page normally without adding the domain id to the url. Other domains trying to access this page will now have the domain id of the source domain added to the url. It is possible to move the error around depending on which domain you assign the source domain to.
Comment #5
agentrickardI suspect this is related to / caused by #1838570: Source Domain changes when publishing content via scheduled actions on cron
Comment #6
agentrickardPatch.
Comment #7
zcrow commentedBrilliant. That fixed it.
Comment #8
agentrickardComment #9
agentrickardFixed.
I will likely roll a release tomorrow.
Comment #10
duntuk commentedThank you. latest DEV version fixed it.
Comment #11
agentrickard7.x-3.6 is out now.
Comment #12.0
(not verified) commentedupdated url with