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?
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.
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.
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.
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
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
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
Hi Yamada
Do you have two templates with the same name perhaps?
/Jan
Yes. There are "News" and "news".
Do you think I should delete one of them?
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
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
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
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
is working on a reply...