@@ -4221,7 +4221,6 @@ public class AmbariManagementControllerImpl implements AmbariManagementControlle
}
widgetLayoutDAO.mergeWithFlush(existingLayoutEntity);
- widgetLayoutDAO.refresh(existingLayoutEntity);
@@ -99,6 +99,7 @@ public class WidgetLayoutDAO {
EntityManager entityManager = entityManagerProvider.get();
widgetLayoutEntity = entityManager.merge(widgetLayoutEntity);
entityManager.flush();
+ entityManager.refresh(widgetLayoutEntity);
return widgetLayoutEntity;