Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-519

Progress notification handlers are not invoked.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      I’ve discovered while looking into a bug report two issues related to progress notification handlers.

      1: The progress notifier is registered AFTER the changes have been pulled down, signifying a race condition and that if the changeset is large enough, the handler may register in time.

      2: If a Realm is up to date or no data exists in a collection, the sync protocol will only send down a 'mark' message. This means that{{connection.receive_download_message}} won't be called. The consequence of this is that if a user relies on the progress handler to show a loading screen in their app the screen will show indefinitely.

      @tkaye407 @mpobrien @simonask @jedelbo

            Assignee:
            lee.maguire@mongodb.com Lee Maguire
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: