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.
2 parents 6b79e40 + bd9c9c8 commit ff8df17Copy full SHA for ff8df17
UPGRADE.md
@@ -1,5 +1,8 @@
1
# Upgrade Notes
2
3
+## 3.2.1
4
+- [BUGFIX] Check published state for objects
5
+
6
## 3.2.0
7
- [LICENSE] Dual-License with GPL and Dachcom Commercial License (DCL) added
8
- [ENHANCEMENT] Google Worker: Use new namespaces
src/EventListener/PimcoreElementListener.php
@@ -81,8 +81,10 @@ public function onObjectPostUpdate(DataObjectEvent $event): void
81
return;
82
}
83
84
- /** @var Concrete $object */
85
$object = $event->getObject();
+ if (!$object instanceof Concrete) {
86
+ return;
87
+ }
88
89
$dispatchType = $object->isPublished() === false
90
? IndexWorkerInterface::TYPE_DELETE
0 commit comments