AutoMapperMappingException after upgrade from 7.7.4 to 7.11.1
Hi,
We've upgraded our Umbraco site from version 7.7.4 to 7.11.1. All works locally, but when deploying to any other environment, we get the error message below when trying to edit/specify the property type of any doc type property. Wondering if anyone else has seen this issue, or might have a suggestion as to what the problem / fix is?
Source value:
Umbraco.Core.Models.DataTypeDefinition ---> System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at Umbraco.Core.PropertyEditors.PropertyEditorResolver.GetByAlias(String alias)
at Umbraco.Web.Models.Mapping.DataTypeModelMapper.<>c.
We managed to fix this in the end. It was down to the way we were deploying to the environment - the target folder wasn't properly being cleared down before deployment, which looks like what caused the type to be registered twice.
AutoMapperMappingException after upgrade from 7.7.4 to 7.11.1
Hi,
We've upgraded our Umbraco site from version 7.7.4 to 7.11.1. All works locally, but when deploying to any other environment, we get the error message below when trying to edit/specify the property type of any doc type property. Wondering if anyone else has seen this issue, or might have a suggestion as to what the problem / fix is?
Thanks.
We managed to fix this in the end. It was down to the way we were deploying to the environment - the target folder wasn't properly being cleared down before deployment, which looks like what caused the type to be registered twice.
is working on a reply...