Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2009
    Posts
    104
    Vote Rating
    3
    gatherworks is on a distinguished road

      0  

    Default onbeforedrop arguments lost on upgrading from Architect 2 to Architect 3

    onbeforedrop arguments lost on upgrading from Architect 2 to Architect 3


    After upgrading an Architect 2 project to the production release of Architect 3, our drag 'n drop stopped working. Turns out that the onbeforedrop function now had no parameters. After defining the arguments for the function everything was back to normal... So we don't have an issue, but wanted to let you know so you can address it for other users.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,168
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Thanks gatherworks.

    Can you give us more details on the framework, version and which drag drop component etc?

    We definitely want to track this down and fix it in the next patch release.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2009
    Posts
    104
    Vote Rating
    3
    gatherworks is on a distinguished road

      0  

    Default


    Currently I have:
    version:3.0.0.1337
    channel:3.0-stable
    platform:1.3.0.762
    cmd:4.0.1.45
    framework:Ext JS 4.1.x

    Previously I had whatever was the latest release Architect 2.

    It was a grid panel with an onbeforedrop event listener.

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,168
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Interesting.

    Do you have a GridDragDropPlugin on your view?

    This is the behavior that I see.

    Start an Ext 4.2 Project
    Drag out a GridPanel
    GridView does not expose a 'beforedrop' event
    Add a Grid View Drag Drop Plugin
    GridView now exposes a 'beforedrop' event
    Add an event binding for beforedrop
    Arguments show up as node, data, overModel, dropPosition dropHandlers and eOpts
    Delete the Drag drop plugin
    The beforedrop handler is maintained but the arguments are dropped.

    What does your hierarchy look like?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha Premium Member
    Join Date
    Oct 2009
    Posts
    104
    Vote Rating
    3
    gatherworks is on a distinguished road

      0  

    Default


    Definitely had a GridDragDropPlugin and similar structure to what you have.

    The issue is that I had something working in Architect 2... then I upgraded to Architect 3 and it lost the parameters on the beforedrop event during the upgrade. Otherwise it works great in both A2 and A3. It is just the upgrade process that has the issue. Once I added the params back in A3, life was good again.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."