Copied to clipboard

Flag this post as spam?

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


  • yamada 4 posts 24 karma points
    Jan 23, 2015 @ 17:15
    yamada
    0

    Cannot update Templates..

    When I try to update a Templates file, i get this error. Does anyone know how to solve it.

    Template not saved: Template does not existItem has already been added. Key in dictionary: 'news' Key being added: 'news'. Check log for details.

    Thanks, yamada

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 23, 2015 @ 17:17
    Jan Skovgaard
    0

    Hi Yamada and welcome to our :)

    What version of Umbraco are you using? And how are you trying to update the templates? Is it using the Umbraco backoffice or is it using an editor like Visual Studio?

    What does the content of your template look like?

    /Jan

  • yamada 4 posts 24 karma points
    Jan 23, 2015 @ 18:34
    yamada
    0

    Thanks for replying.

    Umbraco version is 7.1.4 assembly: 1.0.5261.28127

    I login my umbraco web-site, and go setting, go Templates/Master. There are some templates in master. But no any files cannot be updated, with this error message "Template not saved: Template does not existItem has already been added. Key in dictionary: 'news' Key being added: 'news'. Check log for details." I would like to update just web sites front page.

    yamada

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 23, 2015 @ 18:52
    Jan Skovgaard
    0

    Hi Yamada

    Do you have two templates with the same name perhaps?

    /Jan

  • yamada 4 posts 24 karma points
    Jan 24, 2015 @ 02:47
    yamada
    0

    Yes. There are "News" and "news".

    Do you think I should delete one of them?

    enter image description here

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jan 24, 2015 @ 06:14
    Jan Skovgaard
    0

    Hi Yamada

    That could be the issue - Do they both have the same alias?

    If so I think you should try changing the alias on one of them - But be careful since we don't know which one of them has been picked as the actual template for news.

    /Jan

  • Charles Afford 1163 posts 1709 karma points
    Feb 07, 2015 @ 12:04
    Charles Afford
    0

    Jan and yamada

    Yea i am guessing the same thing, while the names are different the alias(key) is going to be the same lowercase :).

    Charlie

  • yamada 4 posts 24 karma points
    Feb 07, 2015 @ 14:55
    yamada
    0

    Hi Jan & Charlie,

    I changed either Alias.

    Then, now it works like following. "Template saved: Template saved without any errors!"

    Thank you so much for your kind responding!!

    Yamada

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 07, 2015 @ 15:40
    Jan Skovgaard
    0

    Hi Yamada

    That's good to hear - Happy to know you managed to get it sorted. Please remember to mark the issue as solved so other who come across it can go straight to the solution.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft