-
Type: Task
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
?
-
7269
-
Not Needed
Adding a notification callback with keypath FirsName., where FirstName is a string property gives an error with the following message: Property '' in KeyPath 'FirstName.' is not a collection of objects or an object reference, so it cannot be used as an intermediate keypath element.
The name of the property is missing and this is due to https://github.com/realm/realm-core/blob/0b93c29e0a0cbf667342ab6cd1190f6770a66024/src/realm/object-store/shared_realm.cpp#L1584-L1587
It seems to be due to the fact that it's not checked if the public_name is empty (and so to use the property name)