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/BRANCHES/DEV/5.2.N/root@132474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Cristian Turlica
2016-11-07 13:36:41 +00:00
parent ba44c5f4b2
commit d29606a407

View File

@@ -153,7 +153,8 @@ public class PeopleEntityResource implements EntityResourceAction.ReadById<Perso
if (person.getUserName() != null)
{
throw new InvalidArgumentException("Unsupported field: userName");
// REPO-1537
throw new InvalidArgumentException("Unsupported field: id");
}
if (person.getStatusUpdatedAt() != null)