Skip to Content
0
Jul 08, 2019 at 10:02 PM

Variant Product description stored as empty string instead of null

139 Views

In the backoffice a variant product is saved with a non-empty description (a localized attribute). Then, the description field value is removed and the product is saved once again. Since the variant's base product has a description, we expect that to be inherited from here on.

Instead, we see an empty value/whitespace. This is because saving an empty value seems to store an empty string to the database instead of just NULL.

The editor used to set the value is wysiwyg. Is this a known OOTB issue? Should we use a different editor? To me it doesn't make sense that empty string would be stored.

Thanks!