60652: Precautions against MNT-10486: NPE in NodeEntity during post-commit write through to shared cache
- Ensure that NodeEntity objects are locked before going into cache (missed locks during bulk loading)
- Do check on validity of NodeEntity during lock
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@62355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261