John Walker commented on Bug HHH-7920

A shorter better way of summarizing this bug:

CollectionEntry::postInitialize() assumes that it's taking a snapshot of the pristine collection.
However, anything descended from AbstractPersistentCollection will apply writes during afterInitialize(), meaning that by the time CollectionEntry::postInitialize() is called, the collection is no longer pristine.

I'm digging through tickets and code trying to find some indication of which assumption "should" be right, but without much success.

Alternately I might be misunderstanding the purpose of the CollectionEntry snapshot. Should the CollectionEntry::snapshot include queued actions? If so, then the bug would be that routines processing the snapshot can't handle transient items.

What is the purpose of queuing actions in the first place?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira