diff --git a/vendor/magento/module-eav/Model/Entity/Attribute/UniqueValidator.php b/vendor/magento/module-eav/Model/Entity/Attribute/UniqueValidator.php index b1888b42bef92..bb5e589e86b7a 100644 --- a/vendor/magento/module-eav/Model/Entity/Attribute/UniqueValidator.php +++ b/vendor/magento/module-eav/Model/Entity/Attribute/UniqueValidator.php @@ -1,7 +1,7 @@ getData($entityLinkField); + if ($entityIds) { + // check for current and future updates + return in_array($object->getData($entityLinkField), $entityIds); } return true; }