You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The migration runs fine and I can see the Data Type in the back office, but when I try to access it I get the following error which suggests there is an error with the PropertyEditor mapping.
Any ideas?
Error
Received an error from the server
Failed to retrieve data for data type id 5130
Could not find property editor with alias 4023E540-92F5-11DD-AD8B-0800200C9A66
Exception Details:
System.InvalidOperationException: Could not find property editor with alias 4023E540-92F5-11DD-AD8B-0800200C9A66
Stacktrace:
at Umbraco.Web.Models.Mapping.PreValueDisplayResolver.Convert(IDataTypeDefinition source)
at Umbraco.Web.Models.Mapping.PreValueDisplayResolver.ResolveCore(IDataTypeDefinition source)
at AutoMapper.ValueResolver`2.Resolve(ResolutionResult source)
at AutoMapper.PropertyMap.b__6(ResolutionResult current, IValueResolver resolver)
at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable1 source, TAccumulate seed, Func3 func)
at AutoMapper.PropertyMap.ResolveValue(ResolutionContext context)
at AutoMapper.Mappers.TypeMapObjectMapperRegistry.PropertyMapMappingStrategy.MapPropertyValue(ResolutionContext context, IMappingEngineRunner mapper, Object mappedObject, PropertyMap propertyMap)
The text was updated successfully, but these errors were encountered:
I've had a look at the uFluent issue this morning. If you set the property editor to "Umbraco.Tags" in the initial create statement it will work. We need to change the constants so they are not GUID based but if you put the property editor name in there instead of PropertyEditor.Tags it will create the data type
Summary
I'm trying to add a custom tag datatype with the following migration based on the example project
var tagGroup = DataType.Create("Kb Article Tags", PropertyEditor.Tags, DataTypeDatabaseType.Ntext).Save();
tagGroup.SetTagDataTypePreValues("Kb Article Tags", StorageType.Csv).Save();
The migration runs fine and I can see the Data Type in the back office, but when I try to access it I get the following error which suggests there is an error with the PropertyEditor mapping.
Any ideas?
Error
Received an error from the server
Failed to retrieve data for data type id 5130
Could not find property editor with alias 4023E540-92F5-11DD-AD8B-0800200C9A66
Exception Details:
System.InvalidOperationException: Could not find property editor with alias 4023E540-92F5-11DD-AD8B-0800200C9A66
Stacktrace:
at Umbraco.Web.Models.Mapping.PreValueDisplayResolver.Convert(IDataTypeDefinition source)
at Umbraco.Web.Models.Mapping.PreValueDisplayResolver.ResolveCore(IDataTypeDefinition source)
at AutoMapper.ValueResolver`2.Resolve(ResolutionResult source)
at AutoMapper.PropertyMap.b__6(ResolutionResult current, IValueResolver resolver)
at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable
1 source, TAccumulate seed, Func
3 func)at AutoMapper.PropertyMap.ResolveValue(ResolutionContext context)
at AutoMapper.Mappers.TypeMapObjectMapperRegistry.PropertyMapMappingStrategy.MapPropertyValue(ResolutionContext context, IMappingEngineRunner mapper, Object mappedObject, PropertyMap propertyMap)
The text was updated successfully, but these errors were encountered: