You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method extractChanges in vendor/bestit/commercetools-odm-1.22.2/src/UnitOfWork/ChangeManager.php also removes fields in the CustomType that have not changed. Commercetools removes these fields, because the CustomType is assigned as a whole. The following lines after line 122 would do the trick for me
Method extractChanges in vendor/bestit/commercetools-odm-1.22.2/src/UnitOfWork/ChangeManager.php also removes fields in the CustomType that have not changed. Commercetools removes these fields, because the CustomType is assigned as a whole. The following lines after line 122 would do the trick for me
if ($key === 'custom' && array_key_exists('fields', $changedSubData)) {
$changedSubData['fields'] = $value['fields'];
}
The text was updated successfully, but these errors were encountered: