Project

General

Profile

bug #6562

vaadin mvp framwork presenters without view

Added by Andreas Kohlbecker over 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Highest
Category:
cdm-vaadin
Target version:
Start date:
04/11/2017
Due date:
% Done:

100%

Severity:
critical
Found in Version:
Tags:

Description

Spring beans of presenter implementations which are based on the eu.etaxonomy.vaadin.mvp.AbstractPresenter<V extends ApplicationView> exist in the application context without related view bean. Both should be bound to the view scope. Maybe this is not working for the presenters?

Top reproduce:

This is most probably caused by using the ApplicationEventBus for the View/Presenter communication. A Spring Component which is annotated with @EventListener is initialized by spring in each of the spring scopes. this way all presenters are always initialized in the scope of a single view.

A solution to this problem is to use the Vaadin4Spring eventbus addon


Related issues

Related to Edit - bug #6673: conceptual problems with vaadin Popup editor presenters (AbstractEditorPresenter) Closed 05/29/2017
Related to Edit - bug #6811: View and according Presenter are initialized 3x Closed 07/13/2017
Related to Edit - bug #7231: replace the SpringApplicationBus by Vaadin4Spring Event Bus in scoped contexts Closed 02/01/2018

Associated revisions

Revision 96783004 (diff)
Added by Andreas Kohlbecker over 1 year ago

ref #6562 presenters can handle events from own view & solving listSelect update problem

History

#1 Updated by Andreas Kohlbecker over 1 year ago

  • Tags set to phycobank

#2 Updated by Andreas Kohlbecker over 1 year ago

This problem is causing the presenters to receive EditorSaveEvent from foreign views.

#3 Updated by Andreas Kohlbecker over 1 year ago

  • Related to bug #6673: conceptual problems with vaadin Popup editor presenters (AbstractEditorPresenter) added

#4 Updated by Andreas Kohlbecker over 1 year ago

  • Related to bug #6811: View and according Presenter are initialized 3x added

#5 Updated by Andreas Kohlbecker 10 months ago

  • Description updated (diff)
  • Priority changed from New to Highest
  • Target version changed from Unassigned CDM tickets to Release 4.13

#6 Updated by Andreas Kohlbecker 10 months ago

  • Severity changed from normal to critical

#7 Updated by Andreas Müller 10 months ago

  • Target version changed from Release 4.13 to Release 4.14

#8 Updated by Andreas Kohlbecker 10 months ago

  • Related to bug #7231: replace the SpringApplicationBus by Vaadin4Spring Event Bus in scoped contexts added

#9 Updated by Andreas Kohlbecker 10 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

can no longer reproduce, this is most probably fixed by #7231

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)