bug #6562
closedvaadin mvp framwork presenters without view
100%
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:
- got to http://test.e-taxonomy.eu/cdmserver/phycobank/app/registration#!list
- click on one of the message indicators with the text bubble icon.
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
Updated by Andreas Kohlbecker almost 7 years ago
This problem is causing the presenters to receive EditorSaveEvent from foreign views.
Updated by Andreas Kohlbecker almost 7 years ago
- Related to bug #6673: conceptual problems with vaadin Popup editor presenters (AbstractEditorPresenter) added
Updated by Andreas Kohlbecker over 6 years ago
- Related to bug #6811: View and according Presenter are initialized 3x added
Updated by Andreas Kohlbecker about 6 years ago
- Description updated (diff)
- Priority changed from New to Highest
- Target version changed from Unassigned CDM tickets to Release 4.13
Updated by Andreas Kohlbecker about 6 years ago
- Severity changed from normal to critical
Updated by Andreas Müller about 6 years ago
- Target version changed from Release 4.13 to Release 4.14
Updated by Andreas Kohlbecker about 6 years ago
- Related to bug #7231: replace the SpringApplicationBus by Vaadin4Spring Event Bus in scoped contexts added
Updated by Andreas Kohlbecker about 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
can no longer reproduce, this is most probably fixed by #7231