Fixes SO issue when tags contain an empty string
This commit is contained in:
@@ -85,8 +85,11 @@ namespace Umbraco.Core.Services
|
||||
try
|
||||
{
|
||||
var parsedJson = JsonConvert.DeserializeObject<IEnumerable<string>>(convertedPropertyValue.ToString());
|
||||
//recurse with new value
|
||||
SetPropertyTags(property, parsedJson, delimiter, replaceTags, tagGroup, valueType, storageType);
|
||||
if (parsedJson != null)
|
||||
{
|
||||
//recurse with new value
|
||||
SetPropertyTags(property, parsedJson, delimiter, replaceTags, tagGroup, valueType, storageType);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user