Copied to clipboard

Flag this post as spam?

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


  • Jay 425 posts 652 karma points
    Jun 27, 2016 @ 23:08
    Jay
    0

    Umbraco 7.4.3 compulsory field validation error (on MNTP and content picker)

    Hi All,

    I'm having this really weird bug that whenever i set either my MNTP / content picker to be compulsory.

    When i save and published a node that contains this compulsory field (by leaving them empty)

    The validation doesn't kicks in and i get the error below that pops up on the right panel.

    enter image description here

    When i check it in the console it says the below.

    enter image description here

    When i tried to load the POSTSAVE url on a browser it just says about the below

    "The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used."

    I've tried the url on other sites which is working with the compulsory MNTP field and it usually display the below instead

    ")]}', {"Message":"The requested resource does not support http method 'GET'."}"

    Any idea what is wrong? Had wasted about 3-4 hours trying to figure things out but no luck fixing it.

    Appreciate any help on this

    Thanks

  • Sotiris Filippidis 286 posts 1501 karma points
    Jun 28, 2016 @ 00:06
    Sotiris Filippidis
    0

    Have you tried checking your Umbraco log (App_Data/Logs folder)? Is any exception recorded there after you perform this action? Maybe, if there is one, it can help pinpoint the cause.

  • Jay 425 posts 652 karma points
    Jun 28, 2016 @ 07:27
    Jay
    0

    Yup, i've checked the log. Didn't picks up anything there

  • Jay 425 posts 652 karma points
    Jun 28, 2016 @ 07:47
    Jay
    0

    It might not be the Postsave error. It seems like something is not triggering the angular properties validation bits. Can't figure out where

  • Jay 425 posts 652 karma points
    Jun 28, 2016 @ 19:54
    Jay
    0

    Found out what's the issue after I've created a new site on the same version and by copying bits by bits of the changes in.

    I found out that it's due to the httpErrors tag within my web.config

    I have my existingResponse="Replace" instead of "PassThrough"

    Thanks

    <httpErrors errorMode="Custom" existingResponse="Replace">
    
                <remove statusCode="404" subStatusCode="-1" />
                <error statusCode="404" path="~/404/" responseMode="ExecuteURL" />
            </httpErrors>
    
  • 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