Copied to clipboard

Flag this post as spam?

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


  • David Dupont 61 posts 115 karma points
    Sep 13, 2013 @ 08:49
    David Dupont
    0

    Contour Preview on Umbraco 6.1.2. No route in the route table

    Hi everyone,

    I'm using Contour in code first mode and everyting is just awesome, continue to bring us great package like that.

    I encounter just one issue which I'm sure should be easy to solve by Contour users.

    When I try to preview a form or display it in a RTE editor, it fails claiming that :

    No route in the route table matches the supplied values.
    


    Uri used in preview is :

    /umbraco/plugins/umbracoContour/previewFormDialogMvc.aspx?guid=8df6c07b-f398-4cbe-aadb-389b17ddd9e6


    I'm running :

    • Umbraco 6.1.2 in MVC rendering mode
    • Contour 3.0.11
    • Windows 7 x64

    I'm not doing something specific but that the first time I'm working with contour and umbraco v6. My previous tries was on 4.10 and everything was fine.

    The only other difference I can thinnk of is that I use AttributeRouting for generating Child actions urls. That's why I provide the list of configured routes :

    Routes (22)

    Methods Url Defaults Constraints DataTokens

    mini-profiler-resources/{filename}
    controller: MiniProfilerHandler
    action: ProcessRequest
    controller: MiniProfilerHandler
    action: ProcessRequest


    umbraco/RenderMvc/{action}/{id}
    controller: RenderMvc
    action: Index
    id:



    Install/PackageInstaller/{action}/{id}
    controller: InstallPackage
    action: Index
    id:

    Namespaces: Umbraco.Web.Install
    area: umbraco
    UseNamespaceFallback: False

    umbraco/RestServices/{controller}/{action}/{id}
    controller: SaveFileController
    action: Index
    id:

    Namespaces: Umbraco.Web.WebServices
    area: umbraco
    UseNamespaceFallback: False

    umbraco/Surface/BaseSurface/{action}/{id}
    controller: BaseSurface
    action: Index
    id:

    Namespaces: EmakinaUmbraco.Controllers
    umbraco: surface
    UseNamespaceFallback: False

    umbraco/Surface/NewsSurface/{action}/{id}
    controller: NewsSurface
    action: Index
    id:

    Namespaces: EmakinaUmbraco.Controllers
    umbraco: surface
    UseNamespaceFallback: False

    umbraco/Surface/AccountSurface/{action}/{id}
    controller: AccountSurface
    action: Index
    id:

    Namespaces: EmakinaUmbraco.Controllers
    umbraco: surface
    UseNamespaceFallback: False

    umbraco/Surface/T4MVC_AccountSurface/{action}/{id}
    controller: T4MVC_AccountSurface
    action: Index
    id:

    Namespaces: EmakinaUmbraco.Controllers
    umbraco: surface
    UseNamespaceFallback: False

    umbraco/Surface/T4MVC_BaseSurface/{action}/{id}
    controller: T4MVC_BaseSurface
    action: Index
    id:

    Namespaces: EmakinaUmbraco.Controllers
    umbraco: surface
    UseNamespaceFallback: False

    umbraco/Surface/T4MVC_NewsSurface/{action}/{id}
    controller: T4MVC_NewsSurface
    action: Index
    id:

    Namespaces: EmakinaUmbraco.Controllers
    umbraco: surface
    UseNamespaceFallback: False

    umbraco/Api/DomainsApi/{action}/{id}
    controller: DomainsApi
    id:

    Namespaces: Umbraco.Web.WebServices
    UseNamespaceFallback: False
    umbraco: api

    umbraco/Api/ExamineManagementApi/{action}/{id}
    controller: ExamineManagementApi
    id:

    Namespaces: Umbraco.Web.WebServices
    UseNamespaceFallback: False
    umbraco: api
    GET, HEAD {language}/news/small-list
    controller: NewsSurface
    action: NewsList

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    GET, HEAD {language}/account/login
    controller: AccountSurface
    action: Login

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    POST {language}/account/login
    controller: AccountSurface
    action: LoginPost

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    GET, HEAD {language}/account/register
    controller: AccountSurface
    action: Register

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    POST {language}/account/register
    controller: AccountSurface
    action: RegisterPost

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    GET, HEAD {language}/account/thank-you
    controller: AccountSurface
    action: ThankYou

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    GET, HEAD {language}/account/logout
    controller: AccountSurface
    action: Logout

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    GET, HEAD {language}/account/forgot-password
    controller: AccountSurface
    action: ForgotPassword

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    POST {language}/account/forgot-password
    controller: AccountSurface
    action: ForgotPassword

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www
    GET, HEAD {language}/account/password-sent
    controller: AccountSurface
    action: ForgotPasswordSent

    namespaces: EmakinaUmbraco.Controllers
    defaultSubdomain: www

     

    Do I have a missing route that should be registered in order preview to function ?

    Thanks per advance for your time

    David

  • David Dupont 61 posts 115 karma points
    Sep 22, 2013 @ 18:24
    David Dupont
    0

    Nobody have an idea about what is going on.

    I have disabled AttributeRouting but I get the same message.

    Could it be another package which conflict with Contour. I'm gonna try on a fresh 6.1.2 install.

  • Nicholas Westby 2054 posts 7103 karma points c-trib
    Jan 06, 2014 @ 02:59
    Nicholas Westby
    0

    I don't think Contour has custom routes. Basically, when you render the form, you need to set the action to the current request raw URL. Seemed to work for me.

  • Comment author was deleted

    Jan 07, 2014 @ 16:57

    Yeah no custom routing, preview is just a aspx page so not sure what is going on, do you get the same on a fresh Umbraco install?

Please Sign in or register to post replies

Write your reply to:

Draft