Copied to clipboard

Flag this post as spam?

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


  • Eran Meir 401 posts 543 karma points
    Jun 02, 2011 @ 10:20
    Eran Meir
    0

    error on editing richtext editor datatype

    i installed the package and now i that want to edit the richtext editor datatype i get the following error

    Item has already been added. Key in dictionary: 'undo'  Key being added: 'undo'
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'undo'  Key being added: 'undo'
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [ArgumentException: Item has already been added. Key in dictionary: 'undo' Key being added: 'undo'] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +12640582 umbraco.editorControls.tinymce.tinyMCEConfiguration.init() +1093 umbraco.editorControls.tinymce.tinyMCEConfiguration.get_SortedCommands() +23 umbraco.editorControls.tinymce.tinyMCEPreValueConfigurator.OnLoad(EventArgs e) +1820 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Control.LoadRecursive() +190 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048 

  • Eran Meir 401 posts 543 karma points
    Jun 03, 2011 @ 08:25
    Eran Meir
    0

    now i'm getting same error but 

    Item has already been added. Key in dictionary: 'syntaxhighlighter'  Key being added: 'syntaxhighlighter'

  • Eran Meir 401 posts 543 karma points
    Jun 03, 2011 @ 09:31
    Eran Meir
    1

    ok, i found the problem, i had a duplicate syntexthightler in tinymce config also i had a problem with the command, i had a custom commands added before, and the installer installs 

    <command>

            <umbracoAlias>SyntaxHighlighter</umbracoAlias>

            <icon>../umbraco_client/tinymce3/plugins/syntaxhighlighter/images/syntaxhighlighter.gif</icon>

            <tinyMceCommand value="" userInterface="true" frontendCommand="syntaxhighlighter">syntaxhighlighter</tinyMceCommand>

            <priority>76</priority>

          </command>

    i had a command with priority 76 so i had to change it.
  • Ove Andersen 435 posts 1541 karma points c-trib
    Jun 05, 2011 @ 18:49
    Ove Andersen
    0

    Glad you found it out. I will change the XSLT in the next release so it will auto increment on the highest priority value.

  • Derya Ozkaya 6 posts 26 karma points
    May 14, 2015 @ 12:30
    Derya Ozkaya
    0

    When I try to add or save my custom uComponents-Datatype Grid property, I am getting the same error

    Item has already been added. Key in dictionary: 'rel' Key being added: 'rel'

    If anyone have any idea about this, please write me your advice.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft