Added a natural-id element to mapping definition for ChildEntries.

Added two apparently necessary hibernate flushes.
Added a createSnapshot call after unzipping in ImportWebsiteDialog.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-22 17:28:05 +00:00
parent 0ad0ad5641
commit 89d66e393e
3 changed files with 7 additions and 2 deletions

View File

@@ -445,6 +445,8 @@ class PlainDirectoryNodeImpl extends DirectoryNodeImpl implements PlainDirectory
}
// Get rid of the DELETED_NODE child.
AVMContext.fgInstance.fChildEntryDAO.delete(child);
// Another &*#*&#$ flush.
AVMContext.fgInstance.fAVMNodeDAO.flush();
}
// Make the new entry and save.
ChildEntry newChild = new ChildEntryImpl(name, this, node);