some of the links created just fine with nice URL, but some of them gets a #err-18040 (= this node Id...) href and I have no Idea why...
If I try to just use @Umbraco.Content(18040 ).Url instead of @qa.Url it works fine, but @Umbraco.Content(qa.Id).Url doesnt... Where do this "#err- ..." comes from?!?!
Its a big website (>20K nodes) started from umbraco 4 and upgraded every few monthes all the way to the current umbraco 7.5.2. There is also a standard URL ReWriting to add an www and the 's' https, but nothing special...
Weird URL handling while building a results page with dynamic list
Hi, weird error while trying to create a simple search result page:
some of the links created just fine with nice URL, but some of them gets a #err-18040 (= this node Id...) href and I have no Idea why...
If I try to just use @Umbraco.Content(18040 ).Url instead of @qa.Url it works fine, but @Umbraco.Content(qa.Id).Url doesnt... Where do this "#err- ..." comes from?!?!
Its a big website (>20K nodes) started from umbraco 4 and upgraded every few monthes all the way to the current umbraco 7.5.2. There is also a standard URL ReWriting to add an www and the 's' https, but nothing special...
Any Idea?
Hi AvihayBit
I will not recommend to use dynamics for such operations.
Try to use strongly typed models - you will have more clear errors in any case.
Thanks,
Alex
Hi Alex,
Thanks for trying, but I tried @Umbraco.TypedContent(qa.Id).Url and it didn't helped either...
Anyone frome the core team cant say what couse for this URL generating error?
is working on a reply...