Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6507

Dialog close handlers executed twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 6.2.5
    • None
    • None

    Description

      Steps to reproduce

      1.  Add breakpoint to com.vaadin.ui.Window#close
      2.  Close a dialog

      Expected results

      Close handler is executed just once. 

      Actual results

      Close handlers are executed twice.

      Workaround

      Condition is your custom close handler.

      Development notes

      Default impl of the CloseHandler just closes the Vaadin Window. The second call is ignored.

      The issue might be problematic in custom close handlers where the second call might  break the logic.

       

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 28m
                    28m