Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Grig drag and drop breaks deleted record synchronization

    You found a bug! We've classified it as EXTJS-19157 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default Grig drag and drop breaks deleted record synchronization

    During drag/drop, the store tracks record movement (vs. a real delete) with me.removeIsMove. removeIsMove is set to true and then never set back to false, thus subsequence delete operations are never recorded.

    Note that while I didn't text with ExtJS 6, the code appears to be the same.

    Code:
            me.removeIsMove = isMove === true;
            me.removeIsSilent = silent;
            data.remove(toRemove);
            me.removeIsSilent = false;
            return toRemove;
    My guess is that you're missing this, but I didn't investigate further.

    Code:
            me.removeIsMove = isMove === true;
            me.removeIsSilent = silent;
            data.remove(toRemove);
            me.removeIsSilent = false;
            me.removeIsMove = false;
            return toRemove;
    Workaround:
    Code:
     		grid.getView().on('drop', function() {
    			grid.getStore().removeIsMove = false;
    		});

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. Can you please post a test case which reproduces this synchronization issue?
    https://fiddle.sencha.com/#home

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default

    I don't have the time for fiddles at the moment.

  4. #4
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default

    So no fiddle means that this report doesn't get any attention?

  5. #5
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default

    Hello? Gary? Are you going to ignore this? Please do *your job* and look at this report. Your engineering team would see the issue in about 5 seconds, but because you refuse to look at it, the bug will go unfixed. Such a shame. Anyone else at Sencha awake over there? Get a real bug reporting system. Please.

  6. #6
    Sencha User
    Join Date
    Jan 2013
    Location
    Redwood City, CA
    Posts
    4

    Default

    I'm sorry for the delayed reply to this post. I'll have someone respond today. Please note, however, that I have asked everyone to provide fiddles prior to sending anything to engineering. Gary was just doing as I asked. Thanks for understanding. Patricia S. Hill, Director Engineering Operations and Support Sencha, Inc.

  7. #7
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default

    Hi Patricia... Thank you for your explanation, and I apologize for my tone. I realize that I'm one person with one opinion, but I doubt that I'm the only one frustrated by this process. If you'd like to know more, please let me know. Thanks again.

    Edit: Sorry to Gary as well.

  8. #8
    Sencha User
    Join Date
    Jan 2013
    Location
    Redwood City, CA
    Posts
    4

    Default

    No apology necessary! Gary is working with Engineering right now and will get back to you shortly. pat

  9. #9
    Sencha Premium User
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    Test case:


  10. #10
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default

    So just to be sure.. that test case confirms the issue, right?

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 20 Oct 2013, 11:19 AM
  2. Replies: 2
    Last Post: 31 Jul 2012, 6:29 AM
  3. 4.0.7 TreePanel Nodes get deleted after Drag n Drop
    By Stephan Schrade in forum Sencha Ext JS Q&A
    Replies: 2
    Last Post: 29 Feb 2012, 7:11 AM
  4. [FIXED-592] Deleted record resent to be deleted
    By omarc in forum Sencha Touch 1.x: Bugs
    Replies: 2
    Last Post: 22 Nov 2010, 6:43 PM
  5. paging+grid+how to decrement record count when a record is deleted
    By sreenija in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 10 Apr 2008, 8:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •