[CDO] RemoteDeltas always null with conflict resolver [message #1066357] |
Tue, 02 July 2013 10:12 |
Laurent Odermatt Messages: 13 Registered: May 2013 |
Junior Member |
|
|
Hello,
I'm working on a custom conflict resolver, which extends AbstractObjectConflictResolver.
I overrode the resolveConflict(CDOObject conflict,
CDORevision oldRemoteRevision, CDORevisionDelta localDelta,
CDORevisionDelta remoteDelta, List<CDORevisionDelta> allRemoteDeltas)method.
When there are conflicts, the method is called, there is no problem with the localDelta
but the remote one is always null. (remoteDelta == null and allRemoteDeltas is an
empty List).
I tried with resolveConflicts(Map<CDOObject,Pair<CDORevision,CDORevisionDelta>> conflicts, List<CDORevisionDelta> allRemoteDeltas)
with the same result.
I'm working in Legacy mode.
Am I doing something wrong? Why can't I get the remoteDelta?
Regards,
Laurent
|
|
|
Re: [CDO] RemoteDeltas always null with conflict resolver [message #1138864 is a reply to message #1066357] |
Tue, 15 October 2013 11:26 |
|
Hi Laurent,
I just noticed that your old question stayed unanswered. Sorry!
I think the AbstractObjectConflictResolver is only extended by deprecated conflict resolvers. You should try the newer
CDOMergingConflictResolver. Please note that internally it's a complex beast and might still suffer from some bugs that
our tests don't detect. We'd appreciate your feedback ;-)
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 02.07.2013 12:12, schrieb Laurent Odermatt:
> Hello,
>
> I'm working on a custom conflict resolver, which extends AbstractObjectConflictResolver.
> I overrode the resolveConflict(CDOObject conflict,
> CDORevision oldRemoteRevision, CDORevisionDelta localDelta,
> CDORevisionDelta remoteDelta, List<CDORevisionDelta> allRemoteDeltas)method.
>
> When there are conflicts, the method is called, there is no problem with the localDelta
> but the remote one is always null. (remoteDelta == null and allRemoteDeltas is an empty List).
> I tried with resolveConflicts(Map<CDOObject,Pair<CDORevision,CDORevisionDelta>> conflicts, List<CDORevisionDelta>
> allRemoteDeltas)
> with the same result.
>
> I'm working in Legacy mode.
>
> Am I doing something wrong? Why can't I get the remoteDelta?
>
> Regards,
>
> Laurent
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.03813 seconds