We have added an xml language file to override a specific editor UI value. Example content of the xml file:
When going into the EPiServer edit mode an error occurs which prevents it from rendering. The underlying error is:
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 EPiServer.Shell.UI.Controllers.EPiResourcesController.GetResourceDictionary(String resourceKey, CultureInfo culture)
at EPiServer.Shell.UI.Controllers.EPiResourcesController.DojoResources(String pathInfo)
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.
Is it not possible to override existing keys, or should it be done differently?
EPiServer.CMS.UI 8.6.1
We have added an xml language file to override a specific editor UI value. Example content of the xml file:
When going into the EPiServer edit mode an error occurs which prevents it from rendering. The underlying error is:
Is it not possible to override existing keys, or should it be done differently?