I did the exact steps described above, and the HTML rendered in my browser for Site1.local/page1.aspx is the text on the page with two links, the first link is linking to http://site2.local/page1.aspx as it should, but the other link is linking to /page1/page2.1.aspx which does not exist on the current domain of the page we are currently looking at (site1.local)
My test shows that links between sites on different domains linking to a page on a level higher than level 2 will not include the domain name when {localLink<nodeId>} is replaced.
Another interesting and related thing to notice, is the links generated for each page in the Generic Properties tab. Log in to umbraco at http://site1.local/umbraco/umbraco.aspx:
For the Site2 / Page2 / Page2.1 page there are two links:
- Link to document: /page2/page2.aspx
- Alternative Links: http://site2.local/page2/page2.1.aspx
It seems that below the second level in the navigation umbraco doesn't recognize that the domain for the page is not the same as we are currently at, which causes the first link to be wrong.
Can anyone please reproduce this and confirm this imo very serious bug?
I've seem to remember having seen this behavior before, but I don't recall finding a solution for it, because it was not a vital part of that solution.
If the procedure I describe causes this bug to appear, it is a serious bug. It makes it impossible to create a link from one website to another in the same umbraco instance. Please vote for the issue in CP.
Possible bug? - localLink replace between websites does not work
Hello everyone,
Please help me reproduce this issue, which I am having at a customer and are able to reproduce on a new install.
I am running my site on IIS 7.5. The site Application Pool have Managed Pipeline Mode set to Classic.
Please follow these steps:
Site1 (doctype: home, hostname: site1.local)
- Page1 (doctype: page)
- Page2 (doctype: page)
Site2 (doctype: home, hostname: site2.local)
- Page1 (doctype: page)
- Page2 (doctype: page)
- - Page2.1 (doctype: page)
I did the exact steps described above, and the HTML rendered in my browser for Site1.local/page1.aspx is the text on the page with two links, the first link is linking to http://site2.local/page1.aspx as it should, but the other link is linking to /page1/page2.1.aspx which does not exist on the current domain of the page we are currently looking at (site1.local)
My test shows that links between sites on different domains linking to a page on a level higher than level 2 will not include the domain name when {localLink<nodeId>} is replaced.
Another interesting and related thing to notice, is the links generated for each page in the Generic Properties tab. Log in to umbraco at http://site1.local/umbraco/umbraco.aspx:
For the Site2 / Page2 page there are two links:
- Link to document: http://site2.local/page2.aspx
- Alternative Links: http://site2.local/page2.aspx
For the Site2 / Page2 / Page2.1 page there are two links:
- Link to document: /page2/page2.aspx
- Alternative Links: http://site2.local/page2/page2.1.aspx
It seems that below the second level in the navigation umbraco doesn't recognize that the domain for the page is not the same as we are currently at, which causes the first link to be wrong.
Can anyone please reproduce this and confirm this imo very serious bug?
All the best
Dennis Milandt
Do anyone have time to try this out? Remember, it only takes 5 minutes (or less in fact) to set up a new umbraco website.
/Dennis
I'll try and have a look at this tomorrow for you. /Lau
Thank you very much. Looking forward to your result :-)
/Dennis
Lau, did you have any success reproducing this bug?
/Dennis
Anyone else?
Added this as a issue on CodePlex -> http://umbraco.codeplex.com/WorkItem/View.aspx?WorkItemId=25975
/Dennis
I've seem to remember having seen this behavior before, but I don't recall finding a solution for it, because it was not a vital part of that solution.
So it is not just you :)
If the procedure I describe causes this bug to appear, it is a serious bug. It makes it impossible to create a link from one website to another in the same umbraco instance. Please vote for the issue in CP.
/Dennis
is working on a reply...