diff --git a/Bundle/WidgetBundle/Model/WidgetManager.php b/Bundle/WidgetBundle/Model/WidgetManager.php index 7452aedf6..fda063b85 100644 --- a/Bundle/WidgetBundle/Model/WidgetManager.php +++ b/Bundle/WidgetBundle/Model/WidgetManager.php @@ -248,6 +248,8 @@ public function editWidget(Request $request, Widget $widget, View $currentView, if ($noValidate === false && $form->isValid()) { $widget->setBusinessEntityId($businessEntityId); + //force cache invalidation + $widget->setUpdatedAt(new \DateTime()); $this->entityManager->persist($widget); $this->entityManager->persist($currentView);