none
FileSyncProvider ItemConstraint event does not fire for a collision conflict RRS feed

  • Question

  • Hi there,

    Could anyone help explain why the FileSyncProvider.DestinationCallbacks.ItemConstraint event does not fire for a collision conflict?

    The FileSyncProvider is configured as the destination provider. Both the ConflictResolutionPolicy and CollisionConflictResolutionPolicy are set to ApplicationDefined.

    The ItemConflicting and ItemConstraint event handlers are registered correctly. The ItemConflicting event fires correctly. The ItemConstraint event never fires.

    What is particularly interesting is that in the event of a create-create conflict for a file the conflict is actually handled by the FileSyncProvider and the losing file is moved to the conflict loser folder that we have specified BUT because the ItemConstraint event is not fired we have no idea that a collision conflict has occurred and cannot inform the user.

    Any help would be much appeciated.

    Thanks,

    Jason

     

    Tuesday, November 29, 2011 5:20 PM