public class UpdateDashboardHandler implements IUpdateDashboardHandler {
public static final int WIDGETS_LIMIT = 20;
private final DashboardRepository dashboardRepository;
private final WidgetRepository widgetRepository;
private final SharingService sharingService;
<BUG>private final ApplicationEventPublisher eventPublisher;
@Autowired
public UpdateDashboardHandler(DashboardRepository dashboardRepository, WidgetRepository widgetRepository, SharingService sharingService,
ApplicationEventPublisher eventPublisher) {
this.dashboardRepository = dashboardRepository;</BUG>
this.widgetRepository = widgetRepository;

public class UpdateDashboardHandler implements IUpdateDashboardHandler {
public static final int WIDGETS_LIMIT = 20;
private final DashboardRepository dashboardRepository;
private final WidgetRepository widgetRepository;
private final SharingService sharingService;
private final ApplicationEventPublisher eventPublisher;
private final ProjectRepository projectRepository;
@Autowired
public UpdateDashboardHandler(DashboardRepository dashboardRepository, WidgetRepository widgetRepository,
SharingService sharingService,
ApplicationEventPublisher eventPublisher, ProjectRepository projectRepository) {
this.dashboardRepository = dashboardRepository;
this.widgetRepository = widgetRepository;
