From 85cdc79fd228186f976e60c7bfde2cc842881243 Mon Sep 17 00:00:00 2001 From: Shannon Date: Thu, 30 Apr 2015 16:39:41 +1000 Subject: [PATCH] Need to publicize some things for the REST service to work --- src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs | 4 ++-- src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs b/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs index 8adfa2c159..02834660ee 100644 --- a/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs +++ b/src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs @@ -49,7 +49,7 @@ namespace Umbraco.Core.PropertyEditors /// /// Returns the property editors /// - public IEnumerable PropertyEditors + public virtual IEnumerable PropertyEditors { get { return _unioned.Value; } } @@ -59,7 +59,7 @@ namespace Umbraco.Core.PropertyEditors /// /// /// - public PropertyEditor GetByAlias(string alias) + public virtual PropertyEditor GetByAlias(string alias) { return PropertyEditors.SingleOrDefault(x => x.Alias == alias); } diff --git a/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs b/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs index 581186f61d..3f709bb399 100644 --- a/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs +++ b/src/Umbraco.Web/PropertyEditors/TagsPropertyEditor.cs @@ -72,7 +72,7 @@ namespace Umbraco.Web.PropertyEditors /// The default validator used is the RequiredValueValidator but this can be overridden by property editors /// if they need to do some custom validation, or if the value being validated is a json object. /// - internal override ManifestValueValidator RequiredValidator + public override ManifestValueValidator RequiredValidator { get { return new RequiredTagsValueValidator(); } }