Added types cm:avmcontent (derived from cm:content) TYPE_AVM_CONTENT and

cm:avmfolder (derived from cm:folder) TYPE_AVM_FOLDER as handles for UI.
Fixed configuration goofs I introduced recently that caused Node Browsing
to barf on content nodes. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3725 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-09-08 04:47:21 +00:00
parent 9c8ae2b7c4
commit 08ecce31b6
6 changed files with 21 additions and 9 deletions

View File

@@ -2300,7 +2300,7 @@ public class AVMServiceTest extends AVMServiceTestBase
setupBasicTree();
FileFolderService ffs = (FileFolderService)fContext.getBean("FileFolderService");
assertTrue(ffs.create(AVMNodeConverter.ToNodeRef(-1, "main:/a/b/c"),
"banana", ContentModel.TYPE_CONTENT) != null);
"banana", ContentModel.TYPE_AVM_CONTENT) != null);
fService.createSnapshot("main");
System.out.println(recursiveList("main", -1, true));
}