Copied to clipboard

Flag this post as spam?

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


  • Ron Brouwer 273 posts 768 karma points
    Jul 05, 2013 @ 16:34
    Ron Brouwer
    0

    Filtering is not allowed.

    I get the message "Filtering is not allowed." in both the preview of the form and on my site.
    The site is running Umbraco 6.0.4
    Can you specify why this error might occour?

     

    Thanks an advance!

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 09, 2013 @ 10:31
    Tim Geyssens
    0

    Hey Ron,

    That's strange, did you make any changes to the form views so far?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 09, 2013 @ 10:33
    Tim Geyssens
    0

    Will try a test install with that some version to see if I can reproduce

  • Ron Brouwer 273 posts 768 karma points
    Jul 09, 2013 @ 10:36
    Ron Brouwer
    0

    Hey Tim,

    I've located the problem. It's caused by an ActionFilter that we use for all our sites to modify the page output. I'm not sure why this is causing problems with Contour. We never had issues before.

    Any idea?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 09, 2013 @ 10:42
    Tim Geyssens
    0

    Just tried with a fresh 6.0.4 installing latest Contour 3.0.13 and that works fine...

    @Ron are you also running latest Contour or an older version?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 09, 2013 @ 10:43
    Tim Geyssens
    0

    Ah ok glad you found it, possible solution here: http://forums.asp.net/t/1634304.aspx/1

  • Ron Brouwer 273 posts 768 karma points
    Jul 09, 2013 @ 11:05
    Ron Brouwer
    0

    I've seen that post but it's not helping. I think I know why this happens. It seems that you override the HttpContext.

    When checking for filterContext.IsChildAction in my attribute it returns False when it should return True. Could that have something to do with you overiding some things?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Jul 09, 2013 @ 11:07
    Tim Geyssens
    0

    Well it is using mvc bridge http://our.umbraco.org/projects/developer-tools/mvcbridge (to support older Umbraco versions) so I suppose that in that code it might be overriding the HttpContext

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies