mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.N (5.2.1) to HEAD (5.2)
132474 cturlica: REPO-1537: PUT people/personId retrieves unsupported userName instead of id - updated to use id instead of userName git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132668 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -153,7 +153,8 @@ public class PeopleEntityResource implements EntityResourceAction.ReadById<Perso
|
|||||||
|
|
||||||
if (person.getUserName() != null)
|
if (person.getUserName() != null)
|
||||||
{
|
{
|
||||||
throw new InvalidArgumentException("Unsupported field: userName");
|
// REPO-1537
|
||||||
|
throw new InvalidArgumentException("Unsupported field: id");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (person.getStatusUpdatedAt() != null)
|
if (person.getStatusUpdatedAt() != null)
|
||||||
|
Reference in New Issue
Block a user