{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/5221","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5221/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5221/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5221/events","html_url":"https://github.com/joomla/joomla-cms/pull/5221","id":50286518,"number":5221,"title":"Groups user lost after saving","user":{"login":"colivier","id":1595921,"avatar_url":"https://avatars.githubusercontent.com/u/1595921?v=3","gravatar_id":"","url":"https://api.github.com/users/colivier","html_url":"https://github.com/colivier","followers_url":"https://api.github.com/users/colivier/followers","following_url":"https://api.github.com/users/colivier/following{/other_user}","gists_url":"https://api.github.com/users/colivier/gists{/gist_id}","starred_url":"https://api.github.com/users/colivier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colivier/subscriptions","organizations_url":"https://api.github.com/users/colivier/orgs","repos_url":"https://api.github.com/users/colivier/repos","events_url":"https://api.github.com/users/colivier/events{/privacy}","received_events_url":"https://api.github.com/users/colivier/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-27T12:30:49Z","updated_at":"2015-01-05T19:20:42Z","closed_at":"2015-01-01T16:59:10Z","pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/5221","html_url":"https://github.com/joomla/joomla-cms/pull/5221","diff_url":"https://github.com/joomla/joomla-cms/pull/5221.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/5221.patch"},"body":"When a user changes his profile, the groups data is lost because before saving the new data, the groups property is set to null.\r\n\r\nI propose to save the groups property before saving and restore it after."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/68760470","html_url":"https://github.com/joomla/joomla-cms/pull/5221#issuecomment-68760470","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/5221","id":68760470,"user":{"login":"sinisakrisan","id":3237973,"avatar_url":"https://avatars.githubusercontent.com/u/3237973?v=3","gravatar_id":"","url":"https://api.github.com/users/sinisakrisan","html_url":"https://github.com/sinisakrisan","followers_url":"https://api.github.com/users/sinisakrisan/followers","following_url":"https://api.github.com/users/sinisakrisan/following{/other_user}","gists_url":"https://api.github.com/users/sinisakrisan/gists{/gist_id}","starred_url":"https://api.github.com/users/sinisakrisan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinisakrisan/subscriptions","organizations_url":"https://api.github.com/users/sinisakrisan/orgs","repos_url":"https://api.github.com/users/sinisakrisan/repos","events_url":"https://api.github.com/users/sinisakrisan/events{/privacy}","received_events_url":"https://api.github.com/users/sinisakrisan/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T19:20:42Z","updated_at":"2015-01-05T19:20:42Z","body":"You might want to consider actually fixing this Brian.\n\nhttp://issues.joomla.org/tracker/joomla-cms/5138\nhttp://issues.joomla.org/tracker/joomla-cms/5144\n\nClosing this report is good, because it is a duplicate, but that doesn't mean issue is resolved.\nhttp://s15.postimg.org/vqngj1fwr/Screenshot_2015_01_05_20_14_34.png<hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"http://issues.joomla.org/tracker/joomla-cms/5221\">issues.joomla.org/joomla-cms/5221</a>.</sub>"}}