more work on removing the GUID requirement for prop editors, removes legacy editDataType webforms editor (U4-2801 Remove legacy/un-used editDataType.aspx webforms editor)
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Umbraco.Web.Models.Mapping
|
||||
/// <returns></returns>
|
||||
protected override T ConvertCore(Property property)
|
||||
{
|
||||
var editor = PropertyEditorResolver.Current.GetById(property.PropertyType.DataTypeId);
|
||||
var editor = PropertyEditorResolver.Current.GetByAlias(property.PropertyType.PropertyEditorAlias);
|
||||
if (editor == null)
|
||||
{
|
||||
//TODO: Remove this check as we shouldn't support this at all!
|
||||
|
||||
Reference in New Issue
Block a user