Project

General

Profile

Actions

bug #7229

closed

obsolte code in AbstractEditorPresenter.onEditorDeleteEvent?

Added by Andreas Kohlbecker about 5 years ago. Updated about 5 years ago.

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

100%

Estimated time:
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);
   }
Actions #1

Updated by Andreas Kohlbecker about 5 years ago

  • Status changed from New to Closed
Actions #2

Updated by Andreas Kohlbecker about 5 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF