|
Re: [CDO] Problem with resource after transaction rollback [message #890798 is a reply to message #890123] |
Sat, 23 June 2012 04:15 |
|
Am 21.06.2012 10:12, schrieb thomas huster:
> Hello,
>
> while doing a test with CDO (4.1) resources I came across the following problem. If I add an object to a resource,
> rollback, and then try to add the object again. The content size of the resource was 0 as expected after the rollback,
> but was not 1 after I added the object again.
>
> 1. create transaction
> 2. create resource from transaction
> 3. add object to resouce -> resource content size 1
> 4. transaction rollback -> resource content size 0
> 5. add same object to resource -> resource content size 0 ???
>
> The problem is that the rollback resets the content list of the resource, but the eResource reference of the object is
> not. If I remove all newly added objects from the resource before doing the rollback, everything works as expected.
>
> Is this behavior a bug or a feature?
At least it sounds like a bug. I'd need a buzilla to start investigations...
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.03206 seconds