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 718521d commit 328397cCopy full SHA for 328397c
app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Save.php
@@ -327,6 +327,9 @@ public function execute()
327
return $this->returnResult('catalog/*/', [], ['error' => false]);
328
} catch (\Exception $e) {
329
$this->messageManager->addErrorMessage($e->getMessage());
330
+ if ($attributeId === null) {
331
+ unset($data['frontend_input']);
332
+ }
333
$this->_session->setAttributeData($data);
334
return $this->returnResult(
335
'catalog/*/edit',
0 commit comments