mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
58398: Handles null better, and removed applicationContext reference git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@61978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -448,6 +448,7 @@ public class PermissionModel implements ModelDAO
|
||||
{
|
||||
ClassDefinition classDefinition = dictionaryService.getClass(pg.getQName());
|
||||
QName parent;
|
||||
if (classDefinition != null) {
|
||||
while ((parent = classDefinition.getParentName()) != null)
|
||||
{
|
||||
classDefinition = dictionaryService.getClass(parent);
|
||||
@@ -457,6 +458,7 @@ public class PermissionModel implements ModelDAO
|
||||
return attempt;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
@@ -35,8 +35,8 @@ public class AVMTestSuite extends TestSuite
|
||||
{
|
||||
public static ApplicationContext getContext()
|
||||
{
|
||||
ApplicationContextHelper.setUseLazyLoading(false);
|
||||
ApplicationContextHelper.setNoAutoStart(true);
|
||||
//ApplicationContextHelper.setUseLazyLoading(false);
|
||||
//ApplicationContextHelper.setNoAutoStart(true);
|
||||
|
||||
/*
|
||||
return ApplicationContextHelper.getApplicationContext(
|
||||
|
Reference in New Issue
Block a user