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

Change listeners not triggered on certain Mixed attribute changes

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

      Change listeners do not trigger when modifying Mixed attributes under the following circumstances:

      • Boolean(true) to/from Int(1) 
      • Boolean(false) to/from Int(0) 
      • Date(10) to/from ObjectId(10) 

      Mixed does type coercion and the same data might be represented by different types. This behavior might be misleading to the users, as they might not be only looking for data changes but also for type changes.

            Assignee:
            clemente.tort@mongodb.com Clemente Tort Barbero
            Reporter:
            clemente.tort@mongodb.com Clemente Tort Barbero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: