Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-29

WaitForDownloadAsync often does not terminate after switching from offline to online

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      <!--- Questions: If you have questions about how to use Realm, please ask on -->
      <!--- StackOverflow: http://stackoverflow.com/questions/ask?tags=realm -->
      <!--- We monitor the realm tag. -->

      <!--- Feature Request: Just fill in the first two sections below. -->

      <!--- Bugs: To help you as fast as possible with an issue please describe your issue -->
      <!--- and the steps you have taken to reproduce it in as much detail as possible. -->

      <Unable to render embedded object: File (--- Thanks for helping us help you) not found. -->

      Goals

      Get the latest data from the server after working offline then returning online

      Expected Results

      WaitForDownloadAsync should terminate after downloading changes

      Actual Results

      Often WaitForDownloadAsync does not terminate

      Steps to Reproduce

      Work offline adding data to Realm.
      Reconnect.
      Call WaitForDownloadAsync // sometimes terminates, sometimes doesn't

      Code Sample

      A sample console app is at https://1drv.ms/u/s!AiGVkyOWwr6JxRnfSzlfg1UgSzLD?e=WJOkT8
      All it needs to run is to set
      const string SERVER = "xxx.yyyy.cloud.realm.io";
      Points to go offline and come back online are commented

      Version of Realm and Tooling

      • Realm Object Server Version: v3.23.1
      • Flavor:
        • [ ] Realm Cloud
      • Client SDK Version: 4.0.1
      • Client OS & Version: Windows 10.0.17134

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: