From aa2f020aa4b0bc0ae29fa5b204f7a5cdc8b442a9 Mon Sep 17 00:00:00 2001 From: perploug Date: Thu, 19 Sep 2013 11:21:59 +0200 Subject: [PATCH] added lisview guid - does all editors need that? --- src/Umbraco.Core/Constants-PropertyEditors.cs | 7 +++++++ .../LegacyPropertyEditorIdToAliasConverter.cs | 1 + 2 files changed, 8 insertions(+) diff --git a/src/Umbraco.Core/Constants-PropertyEditors.cs b/src/Umbraco.Core/Constants-PropertyEditors.cs index 6448530ac5..3c2a8d6752 100644 --- a/src/Umbraco.Core/Constants-PropertyEditors.cs +++ b/src/Umbraco.Core/Constants-PropertyEditors.cs @@ -162,6 +162,13 @@ namespace Umbraco.Core /// public const string ListViewAlias = "Umbraco.ListView"; + /// + /// Guid for the list view datatype. + /// + [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 ListView = "474FCFF8-9D2D-12DE-ABC6-AD7A56D89593"; + + /// /// Guid for the Macro Container datatype. /// diff --git a/src/Umbraco.Core/PropertyEditors/LegacyPropertyEditorIdToAliasConverter.cs b/src/Umbraco.Core/PropertyEditors/LegacyPropertyEditorIdToAliasConverter.cs index 92be126c86..8ec67297b8 100644 --- a/src/Umbraco.Core/PropertyEditors/LegacyPropertyEditorIdToAliasConverter.cs +++ b/src/Umbraco.Core/PropertyEditors/LegacyPropertyEditorIdToAliasConverter.cs @@ -100,6 +100,7 @@ namespace Umbraco.Core.PropertyEditors 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.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.MemberPicker), Constants.PropertyEditors.MemberPickerAlias);