liip/phpcr-odm — comment on commit 72fa0430a47409fab843298676102d12c2f2761a
File: lib/Doctrine/ODM/PHPCR/UnitOfWork.php line 586
By dbu:

@lsmith77 we removed this because the model is now different: when you get the version of a document, you get a detached instance of your document at that version. we did not fully understand what the code below tries to do, but with this code in place, doing a detach on our version document did still consider the document as STATE_NEW.

btw, we think the versionField with the content it currently has makes no sense at all. it was the full-version node uuid of the actual document. we now provide everything through the odm so you don't need that. and you couldn't use that uuid in a clean way with phpcr-odm