syncEnd event

4 posts, 1 answers
  1. Francesco
    Francesco avatar
    10 posts
    Member since:
    Jun 2015

    Posted 29 Feb Link to this post

    Hello,
    i found an unexpected behavior on syncEnd event of the sync process.
    In short, if i handle the beforeExecute event and cancel some request...

    everlive.on('beforeExecute', function(eventQuery) {
        if (eventQuery.isSync && /* some logic */) {
            eventQuery.cancel();
        }
    });

    the syncEnd event will not raised if all requests have been cancelled.
    But i think this is not correct, because the syncStart event has been raised.

  2. Answer
    Tsvetomir Nedyalkov
    Admin
    Tsvetomir Nedyalkov avatar
    7 posts

    Posted 01 Mar Link to this post

    Hello Francesco,

    Thank you for reporting this.

    You are right - the correct behavior is to emit the syncEnd event even if the sync requests are cancelled.

    The issue is logged in our backlog and will be fixed accordingly. I updated your Telerik Points as a small token of gratitude for your cooperation.

    Regards,
    Tsvetomir Nedyalkov
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
  3. Francesco
    Francesco avatar
    10 posts
    Member since:
    Jun 2015

    Posted 29 Apr in reply to Tsvetomir Nedyalkov Link to this post

    Hello,

    There are news about the issue?

    i've tested with 1.6.10 ...but I still have the same error.

    Thanks.
    Regards,

  4. George
    Admin
    George avatar
    500 posts

    Posted 29 Apr Link to this post

    Hello Francesco,

    I am sorry to inform you that this particular issue was not fixed in the 1.6.10 release.

    You can follow the releases and their respective release notes in our github repository: https://github.com/telerik/backend-services-js-sdk/releases.

    Regards,
    George
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
Back to Top