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 5239bf9 commit d711105Copy full SHA for d711105
lib/internal/Magento/Framework/EntityManager/Observer/AfterEntitySave.php
@@ -27,6 +27,9 @@ public function execute(Observer $observer)
27
{
28
$entity = $observer->getEvent()->getEntity();
29
if ($entity instanceof AbstractModel) {
30
+ if (method_exists($entity->getResource(), 'loadAllAttributes')) {
31
+ $entity->getResource()->loadAllAttributes();
32
+ }
33
$entity->getResource()->afterSave($entity);
34
$entity->afterSave();
35
$entity->getResource()->addCommitCallback([$entity, 'afterCommitCallback']);
0 commit comments