1
Vote

CurrentState returns to initial state after calling CommitToNewVersion()

description

I'd expect that CurrentState remains after commit. Or is it an intent?
If it is not clear I can give more details,

comments

yacineb wrote Feb 16, 2014 at 1:25 PM

the expected behavior of CommitToNewVersion() is to record a new version with the modification set on the object.
currentstate never changes unless you call the method cristallize.

maybe the naming of thses methods is not so descriptive...