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 e4a7e6b commit 082c063Copy full SHA for 082c063
lib/internal/Magento/Framework/Model/AbstractModel.php
@@ -162,7 +162,7 @@ public function __construct(
162
) {
163
$this->_idFieldName = $this->_getResource()->getIdFieldName();
164
}
165
- $this->updateStoredData();
+
166
parent::__construct($data);
167
$this->_construct();
168
@@ -620,7 +620,7 @@ public function afterDelete()
620
$this->_eventManager->dispatch('model_delete_after', ['object' => $this]);
621
$this->_eventManager->dispatch('clean_cache_by_tags', ['object' => $this]);
622
$this->_eventManager->dispatch($this->_eventPrefix . '_delete_after', $this->_getEventData());
623
+ $this->storedData = [];
624
return $this;
625
626
0 commit comments