Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2605

Client reset callbacks not firing as expected

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Electron, Node.js, React Native
    • None

      Problem

      Our client reset callbacks (onBefore, onAfter, onFallback) are not being properly invoked.

      Instead, when a client reset occurs, the sync error callback is invoked with an error named ClientReset.

      This is likely due to not being set up correctly with Bindgen when ported from v11. A good starting point is here.

      Reproduce

      Use our RN Connection State & Error Handling example to reproduce the behavior. Currently, the example's README does mention this bug.

            Assignee:
            kenneth.geisshirt@mongodb.com Kenneth Geisshirt (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: