I have just upgraded a umbraco site from 7.1.3 to 7.5.11.
This project uses a quite special setup. it has gotten 20-ish domains connected to it, one domain for each region the company operates in.
Every domain has an own home node in umbraco. Like this:
-- Home
---- Region 1 (www.region1.se)
---- Region 2 (www.region2.se)
---- Region 3 (www.region3.se)
I have written custom UrlProviders and content finders to deal with this, stripping away the "regionX" (and other folder-nodes that are only there for improved structure) so the url
www.region1.se/region1/folder/page
becomes
www.region1.se/page
This has been working good in 7.1.3.
However, now in 7.5.11, i get this message in the "link to document" field in backoffice: "This document is published but its url would collide with content [path/to/content]"
Some nodes aren't even accessible in the backoffice. They throw this error:
Can you provide the code for the UrlProviders and Contentfinders. That way we could try to spot the issue.
Also in 7.5.4 (i think ) a new version of Automapper is being used in the core. Can you check if your code references that version of Automapper as well. The exceptions you are showing are related to automapper.
Further more, do the region pages have a domain assigned in Umbraco ?
I managed to find the issue however. I had registered a custom 404-content finder that incorrectly threw an exception (which I somehow failed to notice). I fixed that and now everything is working smoothly again.
UrlProvider conflicts
Hi!
I have just upgraded a umbraco site from 7.1.3 to 7.5.11.
This project uses a quite special setup. it has gotten 20-ish domains connected to it, one domain for each region the company operates in. Every domain has an own home node in umbraco. Like this:
-- Home
---- Region 1 (www.region1.se)
---- Region 2 (www.region2.se)
---- Region 3 (www.region3.se)
I have written custom UrlProviders and content finders to deal with this, stripping away the "regionX" (and other folder-nodes that are only there for improved structure) so the url
www.region1.se/region1/folder/page
becomes
www.region1.se/page
This has been working good in 7.1.3.
However, now in 7.5.11, i get this message in the "link to document" field in backoffice: "This document is published but its url would collide with content [path/to/content]"
Some nodes aren't even accessible in the backoffice. They throw this error:
Worth noting is that the frontend is working as expected. no problems there.
Is there any way of solving this issue? or a better way of routing different domains to different home nodes?
Hi Isak,
Can you provide the code for the UrlProviders and Contentfinders. That way we could try to spot the issue.
Also in 7.5.4 (i think ) a new version of Automapper is being used in the core. Can you check if your code references that version of Automapper as well. The exceptions you are showing are related to automapper.
Further more, do the region pages have a domain assigned in Umbraco ?
Dave
Hi!
Thanks for your reply!
I managed to find the issue however. I had registered a custom 404-content finder that incorrectly threw an exception (which I somehow failed to notice). I fixed that and now everything is working smoothly again.
Stupid mistake -_-
Thanks again for your time!
Isak
is working on a reply...