Fixes WCM-534.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-06-28 11:08:54 +00:00
parent fcb4c9c54b
commit e02e874556
2 changed files with 2 additions and 2 deletions

View File

@@ -1329,7 +1329,7 @@ public class AVMStoreImpl implements AVMStore, Serializable
def.getProperties(); def.getProperties();
for (QName name : properties.keySet()) for (QName name : properties.keySet())
{ {
AVMDAOs.Instance().fAVMNodePropertyDAO.delete(node, name); node.getProperties().remove(name);
} }
node.setGuid(GUID.generate()); node.setGuid(GUID.generate());
} }

View File

@@ -306,7 +306,7 @@ public class OrphanReaper
AVMDAOs.Instance().fMergeLinkDAO.delete(link); AVMDAOs.Instance().fMergeLinkDAO.delete(link);
} }
// Get rid of all properties belonging to this node. // Get rid of all properties belonging to this node.
AVMDAOs.Instance().fAVMNodePropertyDAO.deleteAll(node); // AVMDAOs.Instance().fAVMNodePropertyDAO.deleteAll(node);
// Get rid of all aspects belonging to this node. // Get rid of all aspects belonging to this node.
// AVMDAOs.Instance().fAVMAspectNameDAO.delete(node); // AVMDAOs.Instance().fAVMAspectNameDAO.delete(node);
// Get rid of ACL. // Get rid of ACL.