Copied to clipboard

Flag this post as spam?

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


  • seanrock 158 posts 337 karma points
    Jul 12, 2010 @ 18:08
    seanrock
    0

    Item has already been added....

    I created a document type and matching template. i deleted the document type and recreated it (i did not remove the first template) with matching template. I ended up with two templates with the same name. i try to delete one (either results in same error) and get the following (via firebug):

    {"Message":"Item has already been added. Key in dictionary: \u0027news article\u0027 Key being added: \u0027news article\u0027","StackTrace":" at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)\r\n at System.Collections.Hashtable.Add(Object key, Object value)\r\n at umbraco.cms.businesslogic.template.Template.initTemplateAliases()\r\n at umbraco.cms.businesslogic.template.Template.delete()\r\n at umbraco.templateTasks.Delete()\r\n at umbraco.presentation.create.dialogHandler_temp.Delete(String NodeType, Int32 NodeId, String Text)\r\n at umbraco.presentation.webservices.legacyAjaxCalls.Delete(String nodeId, String alias, String nodeType)","ExceptionType":"System.ArgumentException"}

  • seanrock 158 posts 337 karma points
    Jul 12, 2010 @ 18:20
    seanrock
    0

    renaming one of the templates solved my issue.

  • 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