Closed ahoang closed 2 years ago
HI @ahoang, thanks for reporting this. I think this one was recently fixed. See https://github.com/realm/realm-core/issues/5345. Can you try updating the Swift SDK to 10.31.0 or later?
I haven't heard back, so I will assume that this issue has been resolved. If this is not the case, feel free to reopen or create a new issue.
SDK and version
SDK : RealmSwift Version: 10.28.5
Observations
customData
. When the document does not exist (i.e. should be insert), it will successfully insert but will crash giving me a link to report the crash.Crash log / stacktrace
Steps & Code to Reproduce
customData
by callingupdateOneDocument
_id
ofObjectId
ObjectId
, it will return as an error, saying unable to insertString
it will successfully insert but then crash._id
type to String, and set the AnyBSON to string in the document, it will also write successfully, but crash afterward.