mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM Capabilities - more tests and fixes
- person service impl handles emtpy and null uids git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -278,6 +278,14 @@ public class PersonServiceImpl extends TransactionListenerAdapter implements Per
|
||||
|
||||
private NodeRef getPersonImpl(String userName)
|
||||
{
|
||||
if(userName == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
if(userName.length() == 0)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
NodeRef personNode = getPersonOrNull(userName);
|
||||
if (personNode == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user