Uploaded image for project: 'Realm Java SDK'
  1. Realm Java SDK
  2. RJAVA-604

Embedded Objects: Realm.createEmbeddedObjects does not check for invalid types

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      As part of calling `Realm.createEmbeddedObject()` you need to define the parent property holding the embedded object. Currently we does not check the unhappy path of the parent property pointing to a different type than what the embedded object is.

      We should detect this and throw a proper exception. Right now the behavior is undefined.

            Assignee:
            eduardo.lopezgutierrez@mongodb.com Eduardo López Gutiérrez (Inactive)
            Reporter:
            christian.melchior@mongodb.com Christian Melchior (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: