ICEfaces
  1. ICEfaces
  2. ICE-10773

ace:tree - Drop listener not called for child nodes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03
    • Fix Version/s: 4.1, EE-3.3.0.GA_P04
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P3
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Adding an ace:ajax tag inside ace:droppable (all of them) with execute="@all" makes the listener fire. In the server console, the "warning" message that fires when something is dropped can be seen. However, there are many other messages being displayed in the server console as well, which may or may not be application-specific.
      Show
      Adding an ace:ajax tag inside ace:droppable (all of them) with execute="@all" makes the listener fire. In the server console, the "warning" message that fires when something is dropped can be seen. However, there are many other messages being displayed in the server console as well, which may or may not be application-specific.

      Description

      An ace:tree is set to use an ace:droppable to receive drops or an ace:draggable from an ace:dataTable.

      When dragging to a root not, the dropListener is called correctly. When dragging and dropping to a child node, the dropListener is not call.

      1. Case13515ExampleWAR.zip
        9.35 MB
        Arran Mccullough
      2. Case13515Example.zip
        24 kB
        Arran Mccullough

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case that shows this issue.

        Steps:

        • Click on the two root items so that the tree opens up a bit.
        • Select an item in the tree, the table is loaded with draggable items.
        • Drag an item onto the root nodes, the following is shown in the logs:
          WARNING [class tree.DragDropController] (default task-93) Dropped drag id=list:raTable:1:j_idt28 drop id=tf:tree::0::C data=tree.risk@6214a5ef
        • Drag an item to a child node. The above logs which will indicate if the listener is called is not seen.
        • Note: there is no visual indication of the drag and drop on the ui, just focusing on the server logs to show if it has been called or not.
        Show
        Arran Mccullough added a comment - Attached test case that shows this issue. Steps: Click on the two root items so that the tree opens up a bit. Select an item in the tree, the table is loaded with draggable items. Drag an item onto the root nodes, the following is shown in the logs: WARNING [class tree.DragDropController] (default task-93) Dropped drag id=list:raTable:1:j_idt28 drop id=tf:tree: :0: :C data=tree.risk@6214a5ef Drag an item to a child node. The above logs which will indicate if the listener is called is not seen. Note: there is no visual indication of the drag and drop on the ui, just focusing on the server logs to show if it has been called or not.
        Hide
        Ken Fyten added a comment -

        Closing this as invalid as the "fix" is actually the use of the workaround that is documented in this JIRA, namely the requirements to execute the entire tree.

        Show
        Ken Fyten added a comment - Closing this as invalid as the "fix" is actually the use of the workaround that is documented in this JIRA, namely the requirements to execute the entire tree.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: