Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I am using umbraco 7.4.3 and I have this following custom UrlProvider and Event Handler
UrlProvider: http://screencast.com/t/ng5X2epTpUzV
My code is very simple, if the content has the doctypealias indicated then return the current url, otherwise just return empty. (my code does not make sense because it was for testing only as I commented my original purpose)
So while this is my event handler: http://screencast.com/t/yZOtUbbbSk Simply one line just to register my customUrl.
Now this is the problem, when I run it, my backoffice hangs everytime I clicked to my nodes this is the screenshot http://screencast.com/t/YN5Zt9mr4
It keeps saying error connection refused. Hope somebody can help me
Thanks a lot, Jorge
Hi Jorge,
The UrlProvider should return null instead of a empty string. Otherwise the url will become a empty string.
I guess that will fix your problem.
Dave
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco custom URL get crashed.
Hi I am using umbraco 7.4.3 and I have this following custom UrlProvider and Event Handler
UrlProvider: http://screencast.com/t/ng5X2epTpUzV
My code is very simple, if the content has the doctypealias indicated then return the current url, otherwise just return empty. (my code does not make sense because it was for testing only as I commented my original purpose)
So while this is my event handler: http://screencast.com/t/yZOtUbbbSk Simply one line just to register my customUrl.
Now this is the problem, when I run it, my backoffice hangs everytime I clicked to my nodes this is the screenshot http://screencast.com/t/YN5Zt9mr4
It keeps saying error connection refused. Hope somebody can help me
Thanks a lot, Jorge
Hi Jorge,
The UrlProvider should return null instead of a empty string. Otherwise the url will become a empty string.
I guess that will fix your problem.
Dave
is working on a reply...