Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Phil Dye 149 posts 325 karma points
    Jan 09, 2014 @ 10:44
    Phil Dye
    0

    Incompatibility with umbracoInternalRedirectId

    I'm building a site using a structure somewhat like http://cultiv.nl/blog/2010/12/19/tip-of-the-week-the-ultimate-site-structure-setup/, so am using umbracoInternalRedirectId on the root content node to internally redirect to the homepage.

    This isn't working, returning a 404; turning on Debug for the UmbracoTraceLog.txt shows this;

    2014-01-09 09:37:55,437 [31] DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine - [Thread 24] FollowInternalRedirects: Found umbracoInternalRedirectId=Umbraco.Web.Models.DynamicPublishedContent
    2014-01-09 09:37:55,437 [31] DEBUG Umbraco.Web.Routing.PublishedContentRequestEngine - [Thread 24] FollowInternalRedirects: Failed to redirect to id=Umbraco.Web.Models.DynamicPublishedContent: invalid value

    Looks like the PropertyValueEditorConverter is loading the content-picked node as IPublishedContent, instead of leaving the id alone for the Umbraco pipeline to use?

    Any ideas on ways round this? Might need to remove the converter for Content Picker and rebuild my own version perhaps? Or maybe code exclusions for "known" magic property names?

    Phil

     

  • Phil Dye 149 posts 325 karma points
    Jan 09, 2014 @ 17:20
    Phil Dye
    0

    For now, I've simply changed the umbracoInternalRedirectId to be a numeric datatype rather than Content Picker, to avoid the Property Editor Converter doing it's thing - as only something we'd set, that's not a problem for us.

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Jan 10, 2014 @ 00:11
    Jeavon Leopold
    0

    Hi Phil,

    I just released a new version which doesn't convert a property with the alias of umbracoInternalRedirectId

    Could you please give it a try?

    https://our.umbraco.org/FileDownload?id=12992

    Thanks,

    Jeavon

  • Phil Dye 149 posts 325 karma points
    Jan 16, 2014 @ 15:24
    Phil Dye
    100

    Thanks Jeavon, I can confirm that fixes it.

    Phil

Please Sign in or register to post replies

Write your reply to:

Draft