mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
CLD-3: Trunk broken by Servlet API upgrade on platform
- partial revert of refactoring done in REPO-908 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@134826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -203,7 +203,7 @@ public class PeopleImpl implements People
|
|||||||
return personId;
|
return personId;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void processPersonProperties(final Map<QName, Serializable> nodeProps)
|
protected void processPersonProperties(String userName, final Map<QName, Serializable> nodeProps)
|
||||||
{
|
{
|
||||||
if(!contentUsageService.getEnabled())
|
if(!contentUsageService.getEnabled())
|
||||||
{
|
{
|
||||||
@@ -376,7 +376,7 @@ public class PeopleImpl implements People
|
|||||||
if (personNode != null)
|
if (personNode != null)
|
||||||
{
|
{
|
||||||
Map<QName, Serializable> nodeProps = nodeService.getProperties(personNode);
|
Map<QName, Serializable> nodeProps = nodeService.getProperties(personNode);
|
||||||
processPersonProperties(nodeProps);
|
processPersonProperties(personId, nodeProps);
|
||||||
// TODO this needs to be run as admin but should we do this here?
|
// TODO this needs to be run as admin but should we do this here?
|
||||||
final String pId = personId;
|
final String pId = personId;
|
||||||
Boolean enabled = AuthenticationUtil.runAsSystem(new RunAsWork<Boolean>()
|
Boolean enabled = AuthenticationUtil.runAsSystem(new RunAsWork<Boolean>()
|
||||||
|
Reference in New Issue
Block a user