Copied to clipboard

Flag this post as spam?

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


  • suzyb 474 posts 932 karma points
    Aug 30, 2017 @ 10:59
    suzyb
    0

    ModelState lost with ContentFinder for multi-lingual site

    I have a multilingual site where the developer uses a content finder to find the correct node when the URL has a language prefix (i.e. site.com/en/contact).

    There is a problem however in that the data isn't retained when returning to forms using CurrentUmbracoPage().

    My forms use a bog standard SurfaceController that checks for an invalid ModelState and returns to the page but when it does the form loads the same as on first load.

    The problem does seem to be something to do with the Content Finder as it worked before this was implemented. But I don't see how this is interfering with the form.

    Has anyone had this problem before that could shed some light on it?

Please Sign in or register to post replies

Write your reply to:

Draft