Skip to content

Commit e337c77

Browse files
author
Yauhen_Lyskavets
committed
MAGETWO-58212: [GITHUB] Magento 2.1 CE, Cannot change attribute set for bundled product #5999
- Bug fix.
1 parent 101b0cb commit e337c77

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,8 @@ private function getAttributesMeta(array $attributes, $groupCode)
342342
}
343343

344344
$attributeContainer = $this->addContainerChildren($attributeContainer, $attribute, $groupCode, $sortOrder);
345+
$attributeContainer['arguments']['data']['config']['dataScope'] =
346+
static::CONTAINER_PREFIX . $attribute->getAttributeCode();
345347

346348
$meta[static::CONTAINER_PREFIX . $attribute->getAttributeCode()] = $attributeContainer;
347349
}

0 commit comments

Comments
 (0)