Using Umbraco 6.2.5. Had been on uComponents 5.5.0. Installed uComponents 6.0.0 and BOOM, I get a parsing error from ALL xslt’s. Front end as well as when saving in the backoffice.
Error occured
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at umbraco.macro.GetXsltExtensionsImpl()
at Umbraco.Core.CacheHelper.<>c__DisplayClass2`1.b__0() in d:\Dev\Umbraco6\src\Umbraco.Core\CacheHelper.cs:line 385
at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy`1.get_Value()
at Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, CacheDependency dependency) in d:\Dev\Umbraco6\src\Umbraco.Core\Cache\HttpRuntimeCacheProvider.cs:line 144
at Umbraco.Core.CacheHelper.GetCacheItem[TT](String cacheKey, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, Func`1 getCacheItem) in d:\Dev\Umbraco6\src\Umbraco.Core\CacheHelper.cs:line 385
at umbraco.macro.GetXsltExtensions()
at umbraco.macro.AddMacroXsltExtensions()
at umbraco.presentation.webservices.codeEditorSave.SaveXslt(String fileName, String oldName, String fileContents, Boolean ignoreDebugging)
I can’t find a solution online for this one. Any ideas out there? uComponents compatibility matrix says 6.0.0 should work fine with Umbraco 6.2.5.
Thanks,
Garrett
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/71300-upgrading-to-ucomponents-600-causes-xslt-parsing-errors