Closed Bloemkoolsaus closed 5 years ago
The Many->set($remotes)
method works as expected as do the store methods of the JunctionTable and the RemoteKey reference which can be used in combination with the Many relation.
Could you supply an example that illustrates the bug?
The cause is most likely in the store implementation of the RemoteKey reference. The comparision function currently returns boolean values, but should return integer (-1, 0, or 1) values instead.
The many relation -> set($remote) method does not remove items that are not in the new set.