Copied to clipboard

Flag this post as spam?

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


  • Muhammad Tahir 12 posts 33 karma points
    Jun 01, 2012 @ 03:10
    Muhammad Tahir
    0

    Error returning dictionary item 'submit'

    Hi,

    I see the following error in Debug Trace when rendering a contour form.

     

    library Error returning dictionary item 'submit'
    No key submit exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.897702920343228 0.007479
    library Error returning dictionary item 'next'
    No key next exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.898052685467008 0.000350
    library Error returning dictionary item 'prev'
    No key prev exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)
    0.898300482323871 0.000248

     

    I have updated the umbraco.dll but still see the same error.

    Im using umbraco v 4.7.1.1 (Assembly version: 1.0.4393.24044) and Contour v1.1.12

    Any suggestions to fix this issue?

    Thanks

  • Carl Lundblad 12 posts 33 karma points
    Oct 08, 2012 @ 11:30
    Carl Lundblad
    0

    Hi,

    Any update on this? I get the exact same error, running umbraco 4.7.2 with contour 1.1.13.2.

    When adding a form to a page template it renders correctly, but when I add it from the RTE it renders absolutely nothing. I get these errors in the log regardless of how I try to add the form.

     

    Thanks

    Carl

  • Carl Lundblad 12 posts 33 karma points
    Oct 08, 2012 @ 14:19
    Carl Lundblad
    0

    Nevermind, my error was using razor to render the RTE-content. Changing it to being rendered from an umbraco:item-tag made it all work perfectly. :)

  • Will Morrison 8 posts 29 karma points
    Apr 24, 2013 @ 06:28
    Will Morrison
    0

    I'm seeing this same problem with Umbraco 4.7.2 with contour 3.0.6

    I've tried both the razor and the user control versions, to no avail, but I don't fully understand your "fix"...
    Are you saying that I should render it via a template, rather than from within the Rich Text Editor (RTE) ?

    Thanks 

  • Carl Lundblad 12 posts 33 karma points
    Apr 24, 2013 @ 13:47
    Carl Lundblad
    0

    Hi, 

    Yeah what I did was just - instead of outputting the content from within a razor-macro - adding an umbraco:item-tag to the template, like so:

    <umbraco:item field="propertyNameForTheRTE" runat="server" />

    I think that what goes wrong is that rendering a .NET usercontrol (which is - if I'm not mistaken - exactly what Contour is using) is not allowed inside a razor macro.

    Hope this helps :)

Please Sign in or register to post replies

Write your reply to:

Draft