We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a6e19 commit fd3e410Copy full SHA for fd3e410
app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php
@@ -221,7 +221,7 @@ public function execute()
221
return $this->returnResult('catalog/*/', [], ['error' => true]);
222
}
223
// entity type check
224
- if ($model->getEntityTypeId() != $this->_entityTypeId) {
+ if ($model->getEntityTypeId() != $this->_entityTypeId || isset($data['backend_model'])) {
225
$this->messageManager->addErrorMessage(__('We can\'t update the attribute.'));
226
$this->_session->setAttributeData($data);
227
0 commit comments