I just verified it, it is a bug. Hope we can have a hotfix for 
it.

--- In [email protected], [EMAIL PROTECTED] wrote:
>
> 
> Hi All
> 
> we have ancountered an issue with a datasource which has autocommit 
and
> automerge turned on and uses an AMF channel with polling.
> 
> The issue arises from the following sequence of operation:
> 
> - Client 1 updates an item on the datasource, the change is 
committed to
> the data source
> - Client 2 updates the same item on the datasource
> - Client 2 has *not* yet received the change made by Client 1 and 
thus
> initiates a commit
> - The Assembler detects that the item Client 2 is trying to change 
was
> modified since its last merge and therefore throws a
> DataSyncException(ChangeObject, Object) [Object is fetched from the
> database when the conflict is detected]
> - As a result of the exception Client 2's conflict handler is 
invoked, this
> brings up a conflict resolution dialog where Client 2's user 
selects to use
> their own [Conflict.acceptClient()]
> - All seems well, but unfortunately Client 2's change is never 
committed to
> the data source.
> - Then the conflict is presented to the user for a second time - 
this
> appears to be due to the fact that Client 2 polls the server and 
tries to
> merge in Client 1's change.
> - Client 2's user again selects to use their own change
> [Conflict.acceptClient()]. The change is still not committed to the 
data
> source
> 
> Has anybody else come across this problem? If so, how did you work 
around
> it?
> 
> Note that we tried to force a commit after resolving all the 
conflicts, but
> that didn't solve the problem: although Client 2's change gets 
committed to
> the data source, it still receives and merges in Client 1's change 
and
> therefore it displays the wrong data.
> 
> Kornelius Elstner
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to