Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-277

Drag and Drop of WorkbenchParts is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • Future
    • 0.8.0.Final
    • None
    • None
    • NEW
    • NEW

      There has been some discussion about (removal) of DnD from the BxMs User Guide (IDK if it's actually meant to be removed or broken, or what). That said with 7.0.x (Uberfire 0.9.0) code base the below is observed in Chrome's DevTools console when attempting to DnD a WorkbenchPart - any Editor in the Authoring Perspective. Hovering over the WPP header the cursor changes to a "hand" indicating DnD should be possible, but dragging results in the errors (and no DnD action observed in BxMS).

      Error caused by: IllegalStateException: Unattached drop target. You must call DragController#unregisterDropController for all drop targets not attached to the DOM.
          at Uhe_g$ [as collect_0_g$] (StackTraceCreator.java:194)
          at uhe_g$ (StackTraceCreator.java:343)
          at Eqb_g$ [as fillInStackTrace_0_g$] (Throwable.java:114)
          at yqb_g$ (Throwable.java:58)
          at Uqb_g$ (Exception.java:29)
          at EFb_g$ (RuntimeException.java:29)
          at ini_g$ (IllegalStateException.java:28)
          at lac_g$ (DropControllerCollection.java:47)
          at iac_g$ [as resetCache_1_g$] (DropControllerCollection.java:159)
          at Abc_g$ [as resetCache_0_g$] (PickupDragController.java:292)
          at Z7b_g$ [as dragStart_0_g$] (AbstractDragController.java:147)
          at rbc_g$ [as dragStart_0_g$] (PickupDragController.java:183)
          at $Ex_g$ [as dragStart_0_g$] (WorkbenchPickupDragController.java:80)
          at Qac_g$ [as startDragging_0_g$] (MouseDragHandler.java:597)
          at Iac_g$ [as onMouseMove_0_g$] (MouseDragHandler.java:224)
          at VPf_g$ [as dispatch_55_g$] (MouseMoveEvent.java:56)
          at WPf_g$ [as dispatch_1_g$] (MouseMoveEvent.java:55)
          at Yq_g$ [as dispatch_0_g$] (GwtEvent.java:76)
          at vUf_g$ (EventBus.java:40)
          at _Uf_g$ [as doFire_0_g$] (SimpleEventBus.java:193)
          at fVf_g$ [as fireEvent_3_g$] (SimpleEventBus.java:88)
          at NUf_g$ [as fireEvent_1_g$] (HandlerManager.java:127)
          at wJb_g$ [as fireEvent_1_g$] (Widget.java:129)
          at BJf_g$ (DomEvent.java:125)
          at EJb_g$ [as onBrowserEvent_0_g$] (Widget.java:177)
          at y3g_g$ (DOM.java:1480)
          at x3g_g$ (DOM.java:1419)
          at w3g_g$ (DOM.java:1437)
          at N9g_g$ (DOMImplStandard.java:349)
          at Zee_g$ (Impl.java:233)
          at afe_g$ (Impl.java:285)
          at Impl.java:71
      

            eignatow Eder Ignatowicz
            manstis@redhat.com Michael Anstis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: