Merge pull request #7045 from ronaldbarendse/v8/bugfix/nested-content-defaultpropertyvalueconverters
Add DefaultPropertyValueConverterAttribute to core Nested Content PropertyValueConverters
This commit is contained in:
@@ -6,6 +6,7 @@ using Newtonsoft.Json.Linq;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Models.PublishedContent;
|
||||
using Umbraco.Core.PropertyEditors;
|
||||
using Umbraco.Core.PropertyEditors.ValueConverters;
|
||||
using Umbraco.Web.PublishedCache;
|
||||
|
||||
namespace Umbraco.Web.PropertyEditors.ValueConverters
|
||||
@@ -14,6 +15,7 @@ namespace Umbraco.Web.PropertyEditors.ValueConverters
|
||||
/// <summary>
|
||||
/// Provides an implementation for <see cref="T:Umbraco.Core.PropertyEditors.IPropertyValueConverter" /> for nested content.
|
||||
/// </summary>
|
||||
[DefaultPropertyValueConverter(typeof(JsonValueConverter))]
|
||||
public class NestedContentManyValueConverter : NestedContentValueConverterBase
|
||||
{
|
||||
private readonly IProfilingLogger _proflog;
|
||||
|
||||
@@ -5,6 +5,7 @@ using Newtonsoft.Json.Linq;
|
||||
using Umbraco.Core.Logging;
|
||||
using Umbraco.Core.Models.PublishedContent;
|
||||
using Umbraco.Core.PropertyEditors;
|
||||
using Umbraco.Core.PropertyEditors.ValueConverters;
|
||||
using Umbraco.Web.PublishedCache;
|
||||
|
||||
namespace Umbraco.Web.PropertyEditors.ValueConverters
|
||||
@@ -13,6 +14,7 @@ namespace Umbraco.Web.PropertyEditors.ValueConverters
|
||||
/// <summary>
|
||||
/// Provides an implementation for <see cref="T:Umbraco.Core.PropertyEditors.IPropertyValueConverter" /> for nested content.
|
||||
/// </summary>
|
||||
[DefaultPropertyValueConverter(typeof(JsonValueConverter))]
|
||||
public class NestedContentSingleValueConverter : NestedContentValueConverterBase
|
||||
{
|
||||
private readonly IProfilingLogger _proflog;
|
||||
|
||||
Reference in New Issue
Block a user