Results 1 to 2 of 2

Thread: Sync no has Callback | Failure or Exception

  1. #1

    Default Sync no has Callback | Failure or Exception

    only works for success!

    success: function () {
    console.log("sucesso !!");
    failure: function () {
    console.log("falhou ...");
    callback: function () {
    console.log("chamar callback");
    exception: function () {
    console.log("chamar exception");

    the need to operate the exception that
    exception: function () { // this in order to catch exceptions when sync
    console.log("Transaction exception .... handle the exception here");

    Any way to fix this? An overload in store solve?

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011


    There is a open feature request for this TOUCH-2271. Until then I would suggest using one of the suggested workaround from the links you included. FYI the exception listener should be defined on your store.
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

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