On Sunday 29 December 2002 6:42 pm, Willem Broekema wrote:
I understand that, in theory. :-)
In practise, I saw that oldState and savedState were equal. I don't see the conflict. Therefore, I don't know how to 'merge' the states.
Can I assume there is no real conflict then, and return the newState?
Yes, in theory. Out of the two transactions that ZODB thinks are competing, it it possible that one of them was caused simply by a self._p_changed (or equivalent) and there really was no 'state' change.
In practise, I saw that oldState and savedState were equal.
I think it would be wise to investigate the cause of this no-change transaction before assuming this observation is correct. -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson