U4-4833 - Legacy property editor converter mapping error

Created by Andy Clarke 07 May 2014, 03:18:09 Updated by Shannon Deminick 26 Jun 2017, 05:38:46

Requests for a ContentPickerPropertyEditorValueConverter are being redirected to UltimatePropertyEditorValueConverter.

This is caused by the mapping in LegacyPropertyEditorIdToAliasConverter with these two lines CreateMap(Guid.Parse(Constants.PropertyEditors.ContentPicker), Constants.PropertyEditors.ContentPickerAlias); CreateMap(Guid.Parse(Constants.PropertyEditors.UltimatePicker), Constants.PropertyEditors.ContentPickerAlias);

This is then used in a dictionary reverse mapping to go from alias to legacy converter Guid (GetLegacyIdFromAlias). To resolve the ambiguity here, .First() is used, but as this is a dictionary, there is no guarantee which entry will be returned.


Shannon Deminick 26 Jun 2017, 05:38:47

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/

Priority: Normal

Type: Bug

State: Closed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:


Story Points: