Fix tags with CSV storage type (#13188)
* Fixing null check as default(NRT) is null => default(configuration?.Delimiter) is also null and we were counting on it being the same as default(char) * Adding tests to check cases with multiple tags (or tag made of comma separated values)
This commit is contained in:
committed by
Nikolaj
parent
a0931d2042
commit
0fe2c225cb
@@ -33,7 +33,7 @@ public static class PropertyTagsExtensions
|
||||
: dataTypeService.GetDataType(property.PropertyType.DataTypeId)?.Configuration;
|
||||
TagConfiguration? configuration = ConfigurationEditor.ConfigurationAs<TagConfiguration>(configurationObject);
|
||||
|
||||
if (configuration?.Delimiter == default && configuration?.Delimiter is not null)
|
||||
if (configuration is not null && configuration.Delimiter == default)
|
||||
{
|
||||
configuration.Delimiter = tagAttribute.Delimiter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user