Project

General

Profile

bug #7229

obsolte code in AbstractEditorPresenter.onEditorDeleteEvent?

Added by Andreas Kohlbecker 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
New
Category:
cdm-vaadin
Target version:
Start date:
01/31/2018
Due date:
% Done:

100%

Severity:
normal
Found in Version:
Tags:

Description

changing the Flush mode in is most likely obsolete:

 /**
    * Regarding changing the Flush mode see see also {@link ViewScopeConversationHolder}
    *
    * @param saveEvent
    */
   @EventBusListenerMethod
   public void onEditorDeleteEvent(Event<EditorDeleteEvent<DTO>> deleteEvent){

       FlushMode previousFlushMode = getSession().getFlushMode();
       getSession().setFlushMode(FlushMode.AUTO);
       deleteBean(deleteEvent.getPayload().getBean());
       getSession().setFlushMode(previousFlushMode);
   }

Associated revisions

Revision fb7daf37 (diff)
Added by Andreas Kohlbecker 11 months ago

removing old code related to deleted ViewScopeConversationHolder

History

#1 Updated by Andreas Kohlbecker 11 months ago

  • Status changed from New to Closed

#2 Updated by Andreas Kohlbecker 11 months ago

  • % Done changed from 0 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)