Project

General

Profile

Actions

bug #6562

closed

vaadin mvp framwork presenters without view

Added by Andreas Kohlbecker almost 6 years ago. Updated almost 5 years ago.

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

100%

Estimated time:
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) ClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #6811: View and according Presenter are initialized 3xClosedAndreas Kohlbecker

Actions
Related to EDIT - bug #7231: replace the SpringApplicationBus by Vaadin4Spring Event Bus in scoped contextsClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker almost 6 years ago

  • Tags set to phycobank
Actions #2

Updated by Andreas Kohlbecker over 5 years ago

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

Actions #3

Updated by Andreas Kohlbecker over 5 years ago

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

Updated by Andreas Kohlbecker over 5 years ago

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

Updated by Andreas Kohlbecker about 5 years ago

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

Updated by Andreas Kohlbecker about 5 years ago

  • Severity changed from normal to critical
Actions #7

Updated by Andreas Müller about 5 years ago

  • Target version changed from Release 4.13 to Release 4.14
Actions #8

Updated by Andreas Kohlbecker almost 5 years ago

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

Updated by Andreas Kohlbecker almost 5 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

Actions

Also available in: Atom PDF