Clemente Tort

Results 37 issues of Clemente Tort

The SDK would crash if core throws an exception that is not mapped by the C-API. This PR fixes this situation by handling these unmapped error codes into proper sync...

cla: yes

Ordering is not respected when calling `first` on a query. It looks like a c-api issue, see https://github.com/realm/realm-core/issues/5720 Closes https://github.com/realm/realm-kotlin/issues/953

cla: yes

The current approach to sync tests is to share a common App and database on the server. It can present some issues as if a test case modifies the server...

cla: yes

Removes the command server from the testing setup by using Atlas functions.

cla: yes

We are not using null values in the `nullableTimestampDescriptor` within the `QueryTests`. We should use `NULLABLE_TIMESTAMP_VALUES` instead of `TIMESTAMP_VALUES` https://github.com/realm/realm-kotlin/blob/f001accd6ffa68fb9f91801a67c718cc0eed061a/test/base/src/androidTest/kotlin/io/realm/kotlin/test/shared/QueryTests.kt#L2423

We are not able to properly handle user exceptions during the `DiscardLocalChangesStrategy.onBeforeReset()` and `DiscardLocalChangesStrategy.onAfterReset()' on mac os. We need a way to properly signal core that an exception has ocurred....

There are situations, like during a discard local client reset, that we like to copy managed or outdated objects into a Realm. Right now the solution is to manually copy...

This PR enables the new client reset modes in Flexible sync: - Discard unsynced changes - Recover unsynced changes - Recover or discard unsynced changes

cla: yes

This PR adds support for the two new client reset modes, `RecoverUnsycedChanges` and `RecoverOrDiscardUnsyncedChanges` in **partition** sync Realms. `RecoverUnsycedChanges` would try to recover the client unsynced changes. It fallbacks to...

cla: yes

### How frequently does the bug occur? All the time ### Description `RealmResults` change listener does not trigger on remote changes for objects filtered by Flexible sync. ### Stacktrace &...

T-Bug
Reproduction-Required