Results 1 to 2 of 2

Thread: autoSync REST proxy will POST the same record multiple times

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    128

    Default autoSync REST proxy will POST the same record multiple times

    There are 2 ways to expose the problem.

    1. Adding multiple records, and assuming you add them faster than your backend can reply, will result in the new record as well as the previous records getting POSTed again.
    2. Mutating a record in transit will result in it, and the other records in transit, being POSTed again.

    The attached fiddle shows both problems. 3 records are added and 1 is modified. This results in 9 POSTs.

    I've overridden Ext.Ajax.request to log and simulate the POST behavior. The results are logged to a textarea.

    https://fiddle.sencha.com/#view/editor&fiddle/25u8

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

    Default

    For anyone else experiencing this problem, Sencha support has informed me that this is a known issue (EXTJS-16045) and from the looks of the reply I got, they're not planning on fixing it anytime soon.

Similar Threads

  1. Replies: 0
    Last Post: 30 May 2017, 11:26 PM
  2. Replies: 2
    Last Post: 17 Feb 2016, 6:38 AM
  3. Replies: 2
    Last Post: 22 Jul 2013, 12:41 PM
  4. Replies: 8
    Last Post: 10 Apr 2013, 7:26 AM
  5. Replies: 3
    Last Post: 19 Apr 2012, 11:51 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
  •