Fixes SO issue when tags contain an empty string

This commit is contained in:
Shannon
2014-07-23 03:54:27 +10:00
parent de968a18dd
commit 626e155c07

View File

@@ -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)
{