8000 No notification for write transaction that contains only change to backlink property · Issue #4994 · realm/realm-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
No notification for write transaction that contains only change to backlink property #4994
Closed
@ejm01

Description

@ejm01

Expected results

A write transaction that contains only a change to a backlink property notifies.

Actual Results

A write transaction that contains only a change to a backlink property does not notify.

Steps & Code to Reproduce

Test reproduction in realm-core. The difference between this test and the previous passing test is that the previous test both creates an object and reassigns the backlink property.

How to reproduce with realm-cocoa.

Core version

Core version: 11.4.1

After looking at the TransactLogParser I think the issue might be that only switch cases that add modifications to changeset are hit when the write transaction contains only a change to the linkingObjects property.
But changes to linking objects are represented by insertions.

So some questions:

  1. Is this actually the case? And an issue?
  2. Would the solution be changing the TransactLogParser?
  3. Would the solution be changing realm-core treats a change to a linkingObject property?
  4. Any other ways?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet
< 2CCB div data-testid="sidebar-section" class="Box-sc-g0xbh4-0 flElOg Section-module__SectionContainer--jjjKt">

Development

No branches or pull requests

Issue actions

    0