Updated property editors legacy -> new mappings
This commit is contained in:
@@ -75,11 +75,6 @@ namespace Umbraco.Core
|
|||||||
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
||||||
public const string DictionaryPicker = "17B70066-F764-407D-AB05-3717F1E1C513";
|
public const string DictionaryPicker = "17B70066-F764-407D-AB05-3717F1E1C513";
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Alias for the Dictionary Picker datatype.
|
|
||||||
/// </summary>
|
|
||||||
public const string DictionaryPickerAlias = "Umbraco.DictionaryPicker";
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Guid for the Dropdown list datatype.
|
/// Guid for the Dropdown list datatype.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -141,10 +136,10 @@ namespace Umbraco.Core
|
|||||||
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
||||||
public const string ImageCropper = "7A2D436C-34C2-410F-898F-4A23B3D79F54";
|
public const string ImageCropper = "7A2D436C-34C2-410F-898F-4A23B3D79F54";
|
||||||
|
|
||||||
/// <summary>
|
///// <summary>
|
||||||
/// Alias for the Image Cropper datatype.
|
///// Alias for the Image Cropper datatype.
|
||||||
/// </summary>
|
///// </summary>
|
||||||
public const string ImageCropperAlias = "Umbraco.ImageCropper";
|
//public const string ImageCropperAlias = "Umbraco.ImageCropper";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Guid for the Integer datatype.
|
/// Guid for the Integer datatype.
|
||||||
@@ -175,11 +170,6 @@ namespace Umbraco.Core
|
|||||||
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
||||||
public const string MacroContainer = "474FCFF8-9D2D-11DE-ABC6-AD7A56D89593";
|
public const string MacroContainer = "474FCFF8-9D2D-11DE-ABC6-AD7A56D89593";
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Alias for the Macro Container datatype.
|
|
||||||
/// </summary>
|
|
||||||
public const string MacroContainerAlias = "Umbraco.MacroContainer";
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Guid for the Media Picker datatype.
|
/// Guid for the Media Picker datatype.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -340,11 +330,6 @@ namespace Umbraco.Core
|
|||||||
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
||||||
public const string UltimatePicker = "CDBF0B5D-5CB2-445F-BC12-FCAAEC07CF2C";
|
public const string UltimatePicker = "CDBF0B5D-5CB2-445F-BC12-FCAAEC07CF2C";
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Alias for the Ultimate Picker datatype.
|
|
||||||
/// </summary>
|
|
||||||
public const string UltimatePickerAlias = "Umbraco.UltimatePicker";
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Guid for the UltraSimpleEditor datatype.
|
/// Guid for the UltraSimpleEditor datatype.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -352,9 +337,9 @@ namespace Umbraco.Core
|
|||||||
public const string UltraSimpleEditor = "60B7DABF-99CD-41EB-B8E9-4D2E669BBDE9";
|
public const string UltraSimpleEditor = "60B7DABF-99CD-41EB-B8E9-4D2E669BBDE9";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Alias for the UltraSimpleEditor datatype.
|
/// Alias for the MarkdownEditor datatype.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string UltraSimpleEditorAlias = "Umbraco.UltraSimpleEditor";
|
public const string MarkdownEditorAlias = "Umbraco.MarkdownEditor";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Guid for the Umbraco Usercontrol Wrapper datatype.
|
/// Guid for the Umbraco Usercontrol Wrapper datatype.
|
||||||
@@ -362,11 +347,6 @@ namespace Umbraco.Core
|
|||||||
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
[Obsolete("GUIDs are no longer used to reference Property Editors, use the Alias constant instead. This will be removed in future versions")]
|
||||||
public const string UmbracoUserControlWrapper = "D15E1281-E456-4B24-AA86-1DDA3E4299D5";
|
public const string UmbracoUserControlWrapper = "D15E1281-E456-4B24-AA86-1DDA3E4299D5";
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Alias for the Umbraco Usercontrol Wrapper datatype.
|
|
||||||
/// </summary>
|
|
||||||
public const string UmbracoUserControlWrapperAlias = "Umbraco.UmbracoUserControlWrapper";
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Guid for the Upload field datatype.
|
/// Guid for the Upload field datatype.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -109,22 +109,18 @@ namespace Umbraco.Core.PropertyEditors
|
|||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.ContentPicker), Constants.PropertyEditors.ContentPickerAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.ContentPicker), Constants.PropertyEditors.ContentPickerAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.Date), Constants.PropertyEditors.DateAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.Date), Constants.PropertyEditors.DateAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.DateTime), Constants.PropertyEditors.DateTimeAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.DateTime), Constants.PropertyEditors.DateTimeAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.DictionaryPicker), Constants.PropertyEditors.DictionaryPickerAlias);
|
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.DropDownList), Constants.PropertyEditors.DropDownListAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.DropDownList), Constants.PropertyEditors.DropDownListAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.DropDownListMultiple), Constants.PropertyEditors.DropDownListMultipleAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.DropDownListMultiple), Constants.PropertyEditors.DropDownListMultipleAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.DropdownlistMultiplePublishKeys), Constants.PropertyEditors.DropdownlistMultiplePublishKeysAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.DropdownlistMultiplePublishKeys), Constants.PropertyEditors.DropdownlistMultiplePublishKeysAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.DropdownlistPublishingKeys), Constants.PropertyEditors.DropdownlistPublishingKeysAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.DropdownlistPublishingKeys), Constants.PropertyEditors.DropdownlistPublishingKeysAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.FolderBrowser), Constants.PropertyEditors.FolderBrowserAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.FolderBrowser), Constants.PropertyEditors.FolderBrowserAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.ImageCropper), Constants.PropertyEditors.ImageCropperAlias);
|
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.Integer), Constants.PropertyEditors.IntegerAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.Integer), Constants.PropertyEditors.IntegerAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.ListView), Constants.PropertyEditors.ListViewAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.ListView), Constants.PropertyEditors.ListViewAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.MacroContainer), Constants.PropertyEditors.MacroContainerAlias);
|
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.MediaPicker), Constants.PropertyEditors.MediaPickerAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.MediaPicker), Constants.PropertyEditors.MediaPickerAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.MemberPicker), Constants.PropertyEditors.MemberPickerAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.MemberPicker), Constants.PropertyEditors.MemberPickerAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.MultiNodeTreePicker), Constants.PropertyEditors.MultiNodeTreePickerAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.MultiNodeTreePicker), Constants.PropertyEditors.MultiNodeTreePickerAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.MultipleTextstring), Constants.PropertyEditors.MultipleTextstringAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.MultipleTextstring), Constants.PropertyEditors.MultipleTextstringAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.NoEdit), Constants.PropertyEditors.NoEditAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.NoEdit), Constants.PropertyEditors.NoEditAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.PickerRelations), Constants.PropertyEditors.PickerRelationsAlias);
|
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.RadioButtonList), Constants.PropertyEditors.RadioButtonListAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.RadioButtonList), Constants.PropertyEditors.RadioButtonListAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.RelatedLinks), Constants.PropertyEditors.RelatedLinksAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.RelatedLinks), Constants.PropertyEditors.RelatedLinksAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.Slider), Constants.PropertyEditors.SliderAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.Slider), Constants.PropertyEditors.SliderAlias);
|
||||||
@@ -133,13 +129,24 @@ namespace Umbraco.Core.PropertyEditors
|
|||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.TextboxMultiple), Constants.PropertyEditors.TextboxMultipleAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.TextboxMultiple), Constants.PropertyEditors.TextboxMultipleAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.TinyMCEv3), Constants.PropertyEditors.TinyMCEv3Alias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.TinyMCEv3), Constants.PropertyEditors.TinyMCEv3Alias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.TrueFalse), Constants.PropertyEditors.TrueFalseAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.TrueFalse), Constants.PropertyEditors.TrueFalseAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.UltimatePicker), Constants.PropertyEditors.UltimatePickerAlias);
|
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.UserPicker), Constants.PropertyEditors.UserPickerAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.UserPicker), Constants.PropertyEditors.UserPickerAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.UltraSimpleEditor), Constants.PropertyEditors.UltraSimpleEditorAlias);
|
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.UmbracoUserControlWrapper), Constants.PropertyEditors.UmbracoUserControlWrapperAlias);
|
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.UploadField), Constants.PropertyEditors.UploadFieldAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.UploadField), Constants.PropertyEditors.UploadFieldAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.XPathCheckBoxList), Constants.PropertyEditors.XPathCheckBoxListAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.XPathCheckBoxList), Constants.PropertyEditors.XPathCheckBoxListAlias);
|
||||||
CreateMap(Guid.Parse(Constants.PropertyEditors.XPathDropDownList), Constants.PropertyEditors.XPathDropDownListAlias);
|
CreateMap(Guid.Parse(Constants.PropertyEditors.XPathDropDownList), Constants.PropertyEditors.XPathDropDownListAlias);
|
||||||
|
|
||||||
|
//Being mapped to different editors
|
||||||
|
//TODO: Map this somewhere!
|
||||||
|
CreateMap(Guid.Parse(Constants.PropertyEditors.PickerRelations), Constants.PropertyEditors.PickerRelationsAlias);
|
||||||
|
CreateMap(Guid.Parse(Constants.PropertyEditors.UltimatePicker), Constants.PropertyEditors.ContentPickerAlias);
|
||||||
|
CreateMap(Guid.Parse(Constants.PropertyEditors.UltraSimpleEditor), Constants.PropertyEditors.MarkdownEditorAlias);
|
||||||
|
|
||||||
|
//Not being converted - convert to label
|
||||||
|
CreateMap(Guid.Parse(Constants.PropertyEditors.DictionaryPicker), Constants.PropertyEditors.NoEditAlias);
|
||||||
|
CreateMap(Guid.Parse(Constants.PropertyEditors.UmbracoUserControlWrapper), Constants.PropertyEditors.NoEditAlias);
|
||||||
|
|
||||||
|
//Not ready for v7.0! - will need to create for 7.1
|
||||||
|
CreateMap(Guid.Parse(Constants.PropertyEditors.MacroContainer), Constants.PropertyEditors.NoEditAlias);
|
||||||
|
CreateMap(Guid.Parse(Constants.PropertyEditors.ImageCropper), Constants.PropertyEditors.NoEditAlias);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user