mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD
11301: Merged V2.2 to V3.0 11296: Externalised the Hibernate sql-query 11297: Fixed ETWOTWO-603: NPE check getting ACLs 11298: ETWOTWO-594: Tidy up input stream closure 11299: Minor javadoc change git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12409 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -365,7 +365,16 @@ public abstract class AbstractPermissionsDaoComponentImpl implements Permissions
|
||||
DbAccessControlList acl = null;
|
||||
try
|
||||
{
|
||||
acl = getACLDAO(nodeRef).getAccessControlList(nodeRef);
|
||||
AccessControlListDAO aclDAO = getACLDAO(nodeRef);
|
||||
if (aclDAO == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
acl = aclDAO.getAccessControlList(nodeRef);
|
||||
if (acl == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (InvalidNodeRefException e)
|
||||
{
|
||||
@@ -402,7 +411,16 @@ public abstract class AbstractPermissionsDaoComponentImpl implements Permissions
|
||||
DbAccessControlList acl = null;
|
||||
try
|
||||
{
|
||||
acl = getACLDAO(nodeRef).getAccessControlList(nodeRef);
|
||||
AccessControlListDAO aclDAO = getACLDAO(nodeRef);
|
||||
if (aclDAO == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
acl = aclDAO.getAccessControlList(nodeRef);
|
||||
if (acl == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (InvalidNodeRefException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user