mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
SAIL-373 (SAIL-294): Fix ACL update entity - fix PersonTest.testCreateMissingPeople after r20931 (which enabled the shared ACL entity cache)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -206,7 +206,7 @@ public abstract class AbstractAclCrudDAOImpl implements AclCrudDAO
|
||||
return entityPair.getSecond();
|
||||
}
|
||||
|
||||
public AclEntity getAclForUpdate(long id)
|
||||
public AclUpdateEntity getAclForUpdate(long id)
|
||||
{
|
||||
AclEntity acl = getAclImpl(id);
|
||||
if (acl == null)
|
||||
@@ -215,7 +215,7 @@ public abstract class AbstractAclCrudDAOImpl implements AclCrudDAO
|
||||
}
|
||||
|
||||
// copy for update
|
||||
AclEntity aclEntity = new AclEntity();
|
||||
AclUpdateEntity aclEntity = new AclUpdateEntity();
|
||||
aclEntity.setId(acl.getId());
|
||||
aclEntity.setVersion(acl.getVersion());
|
||||
aclEntity.setAclChangeSetId(acl.getAclChangeSetId());
|
||||
@@ -254,7 +254,7 @@ public abstract class AbstractAclCrudDAOImpl implements AclCrudDAO
|
||||
return getAVMNodeEntityIdsByAcl(aclEntityId, maxResults);
|
||||
}
|
||||
|
||||
public void updateAcl(AclEntity entity)
|
||||
public void updateAcl(AclUpdateEntity entity)
|
||||
{
|
||||
ParameterCheck.mandatory("entity", entity);
|
||||
ParameterCheck.mandatory("entity.id", entity.getId());
|
||||
|
Reference in New Issue
Block a user