Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-2992 in 3.0.5.
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    70
    Vote Rating
    5
    Andreas Samjeske is on a distinguished road

      0  

    Default Tree: cascading multi-selection crashes onDragStart

    Tree: cascading multi-selection crashes onDragStart


    Required Information

    Version(s) of Ext GWT
    3.0.1

    Browser versions and OS
    (and desktop environment, if applicable)
    FireFox 17.0.5 on Win7 Enterprise SP1

    Virtual Machine
    No

    Description
    Drag&Drop crashes the app right away on starting to drag, if a folder and one of its child-folders and one of its child-leafs is selected.
    (not all the time; seems like order of selection is important)

    Run mode
    - production mode v3.0.1 (Sencha Demo)
    - development mode, v3.0.0b (my app)

    Steps to reproduce the problem
    1. Go to Reordering Tree Example
    2. Choose folder "overview" and drag it onto folder "Windows"
    3. Open folders "Windows" and "overview"
    4. Choose folder "Windows" and select all items to the bottom including leaf "Overview" in fodler "overview" by holding shift key while clicking leaf "overview"
    5. try to drag the whole selection; this leads to UmbrellaException

    Expected result
    Starting drag process

    Actual result
    "Error: One or more exceptions caught, see full set in UmbrellaException#getCauses"

    Test case
    Code:
    none, see above
    Helpful Information
    "Reordering TreeGrid and "TreeGrid to TreeGrid" Examples show same problem.

    Debugging already done
    In DevMode of GXT3.0.0b I got this:
    Code:
    Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.remove(ArrayList.java:387)
        at com.sencha.gxt.dnd.core.client.TreeDragSource.onDragStart(TreeDragSource.java:133)
    Seems like a leaf, which has been removed in the cycle before, cause its parent is selected too, gets removed again, cause its grandparent is selected too.
    Possible fix
    Break while loop after remove! After a remove operation, index i points to a different item or out of bounds. The ladder one made me notice this faulty behaivor. But pointing to a different item (and possibly removing it) is a naughty bug!

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    70
    Vote Rating
    5
    Andreas Samjeske is on a distinguished road

      0  

    Default


    Version 3.0.4 at http://staging.sencha.com:8080/examp...reorderingtree shows the reported issue too.

  3. #3
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    Thanks for the report - I've confirmed the issue in 3.0.1 through the latest nightly build and opened it internally. We'll update this thread when a fix is available.

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    70
    Vote Rating
    5
    Andreas Samjeske is on a distinguished road

      0  

    Default


    Quote Originally Posted by Colin Alworth View Post
    Thanks for the report - I've confirmed the issue in 3.0.1 through the latest nightly build and opened it internally. We'll update this thread when a fix is available.
    Great! I am missing the [OPEN]-Tag and the reference to your internal issue tracker tho.
    You found a bug! We've classified it as EXTGWT-nnnn . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    Thanks for the heads-up - I've passed word along, and it looks like the problem is resolved.

  6. #6
    Sencha - GXT Dev Team
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    276
    Vote Rating
    9
    branflake2267 will become famous soon enough

      0  

    Default


    This issue was fixed and will be put into svn tonight.

    Brandon

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar