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?
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?
is working on a reply...