We are updating some products custom fields via the productRepository
s upsert
method:
$productdata = [// ... 'customFields' =\> [ 'productLine' =\> 'foo', 'setConsists' =\> 'bar'] // ... ];$this-\>productRepository-\>upsert( [$productdata], \Shopware\Core\Framework\Context::createDefaultContext() );
Will other custom field values be deleted when updating the product like this (which is my current assumption tracking down a nasty bug)?