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

@@ -806,6 +806,7 @@ class LayeredDirectoryNodeImpl extends DirectoryNodeImpl implements LayeredDirec
{
ChildEntry entry = AVMContext.fgInstance.fChildEntryDAO.getByNameParent(name, this);
AVMContext.fgInstance.fChildEntryDAO.delete(entry);
AVMContext.fgInstance.fAVMNodeDAO.flush();
}
}
// Make the new ChildEntry and save.