{"action":"created","issue":{"url":"https://api.github.com/repos/jay0lee/GAM/issues/279","repository_url":"https://api.github.com/repos/jay0lee/GAM","labels_url":"https://api.github.com/repos/jay0lee/GAM/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/jay0lee/GAM/issues/279/comments","events_url":"https://api.github.com/repos/jay0lee/GAM/issues/279/events","html_url":"https://github.com/jay0lee/GAM/issues/279","id":182502353,"number":279,"title":"Error with updating users firstname and lastname ","user":{"login":"Mugulane","id":8696341,"avatar_url":"https://avatars.githubusercontent.com/u/8696341?v=3","gravatar_id":"","url":"https://api.github.com/users/Mugulane","html_url":"https://github.com/Mugulane","followers_url":"https://api.github.com/users/Mugulane/followers","following_url":"https://api.github.com/users/Mugulane/following{/other_user}","gists_url":"https://api.github.com/users/Mugulane/gists{/gist_id}","starred_url":"https://api.github.com/users/Mugulane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mugulane/subscriptions","organizations_url":"https://api.github.com/users/Mugulane/orgs","repos_url":"https://api.github.com/users/Mugulane/repos","events_url":"https://api.github.com/users/Mugulane/events{/privacy}","received_events_url":"https://api.github.com/users/Mugulane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-12T11:32:25Z","updated_at":"2016-10-20T13:17:45Z","closed_at":null,"body":"Upgraded to Gam 3.71\r\n\r\n**Full steps to reproduce the issue:**\r\n1. From https://github.com/jay0lee/GAM/wiki/GAM3DirectoryCommands#update-and-rename-a-user\r\n\r\n**Example command:** gam update user dummy@tktk.ee firstname \"TTK\" lastname \"Dummy\"\r\nand also tried without quotationmarks.\r\n\r\n**Expected outcome (what are you trying to do?):**\r\nTried to rename one users first and lastname\r\n\r\n**Full steps to reproduce the issue:**\r\n1.  gam update user user@yourdomainname.com firstname \"TTK\" lastname \"Dummy\"\r\n\r\n**Expected outcome (what are you trying to do?):**\r\nA text \"updating account for dummy@tktk.ee\" and users renamed firstname and lastname\r\n\r\n**Actual outcome (what errors or bad behavior do you see instead?):**\r\nTraceback (most recent call last):\r\n  File \"/home/mugulane/gam/gam.py\", line 11132, in <module>\r\n    sys.exit(ProcessGAMCommand(sys.argv))\r\n  File \"/home/mugulane/gam/gam.py\", line 10511, in ProcessGAMCommand\r\n    doUpdateUser([sys.argv[3],], 4)\r\n  File \"/home/mugulane/gam/gam.py\", line 6985, in doUpdateUser\r\n    body, admin_body = getUserAttributes(i, updateCmd=True)\r\n  File \"/home/mugulane/gam/gam.py\", line 6467, in getUserAttributes\r\n    body[u'name'][u'givenName'] = sys.argv[i+1]\r\nKeyError: u'name'\r\n"},"comment":{"url":"https://api.github.com/repos/jay0lee/GAM/issues/comments/255102887","html_url":"https://github.com/jay0lee/GAM/issues/279#issuecomment-255102887","issue_url":"https://api.github.com/repos/jay0lee/GAM/issues/279","id":255102887,"user":{"login":"Mugulane","id":8696341,"avatar_url":"https://avatars.githubusercontent.com/u/8696341?v=3","gravatar_id":"","url":"https://api.github.com/users/Mugulane","html_url":"https://github.com/Mugulane","followers_url":"https://api.github.com/users/Mugulane/followers","following_url":"https://api.github.com/users/Mugulane/following{/other_user}","gists_url":"https://api.github.com/users/Mugulane/gists{/gist_id}","starred_url":"https://api.github.com/users/Mugulane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mugulane/subscriptions","organizations_url":"https://api.github.com/users/Mugulane/orgs","repos_url":"https://api.github.com/users/Mugulane/repos","events_url":"https://api.github.com/users/Mugulane/events{/privacy}","received_events_url":"https://api.github.com/users/Mugulane/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T13:17:45Z","updated_at":"2016-10-20T13:17:45Z","body":"Thank you. That was the case. It wasn't upgraded properly. \r\nI suggest to add one paragraph to wiki of updating GAM."}}
{"actor":{"display_login":"Mugulane"}}