Results 1 to 3 of 3

Thread: Store sync failure function never triggered

  1. #1

    Default Store sync failure function never triggered

    I'm writing data in an external database through a Sencha Touch App. I need to handle the response of the web server in both success and failure cases. I'm calling the sync method of a store object in this way:
            callback: function(batch, options) {
            success: function(batch, options) {
            failure: function(batch, options) {
    My web server responses, in case of success and failure respectively, are:
    {"message":"Test message","errors":null,"success":true,"data":[]}
    {"message":"Test message","errors":null,"success":false,"data":[]}
    On first case success and callback functions of sync method are executed, on second case nothing happens.
    I think it's a bug, there's a way to fix?

  2. #2
    Sencha User
    Join Date
    Feb 2013


    Sounds like this issue:

    I don't yet have a workaround for this, though one is discussed in that thread.

  3. #3


    Thank you for your answer.

    Operationally the issue is the same, but the correction code proposed in the thread is already present in my version, so at the code level the problem is another.

    I hope I'll find a workaround.

Similar Threads

  1. ExtJS 5.1.0 Store does not sync and no failure
    By chrisHu in forum Ext 5: Q&A
    Replies: 2
    Last Post: 20 Mar 2015, 2:22 PM
  2. Replies: 2
    Last Post: 19 Feb 2014, 3:28 PM
  3. store.sync() sucess, failure, callback
    By paynterc in forum Sencha Ext JS Q&A
    Replies: 1
    Last Post: 6 Aug 2013, 11:49 AM
  4. Replies: 2
    Last Post: 25 Jun 2013, 7:11 PM
  5. Replies: 2
    Last Post: 23 Jun 2009, 1:59 AM

Tags for this Thread

Posting Permissions

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