ModeShape/modeshape — pull request #830 by hchiorean (2013-05-28 07:20:24+00:00)
Title: MODE-1945 Fixed the code which validated mandatory children of a node type, before saving a session.

The previous version of the code added all the children below a node (at any given level) which a) are not needed (only 1st level children are of interest) and b) could expose keys of removed children, which would not be found in the cache (this is what caused the actual bug).