{"action":"created","issue":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/935","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/935/labels{/name}","comments_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/935/comments","events_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/935/events","html_url":"https://github.com/ahelsing/tickettest2/issues/935","id":77992608,"number":935,"title":"ma_client must not redirect on name lookup errors","user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/44","html_url":"https://github.com/ahelsing/tickettest2/milestones/2.6.2","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/44/labels","id":1117139,"number":44,"title":"2.6.2","description":null,"creator":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":12,"state":"open","created_at":"2015-05-19T06:56:29Z","updated_at":"2015-05-19T08:29:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-19T08:29:43Z","updated_at":"2015-05-19T08:29:54Z","closed_at":null,"body":"user.php fetchMember takes a member ID and tries to construct a member object. But if an error (authorization?) means you can't get all the data (like EPPN), then you'll immediately get an error when you try to do user->init_from_member\r\n\r\n\n\n _Imported from trac ticket [#935](http://trac.gpolab.bbn.com/proto-ch/ticket/935),  created by ahelsing on 12-12-2013 at 17:11, last modified: 12-16-2013 at 13:50_\n"},"comment":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/comments/103397635","html_url":"https://github.com/ahelsing/tickettest2/issues/935#issuecomment-103397635","issue_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/935","id":103397635,"user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T08:29:54Z","updated_at":"2015-05-19T08:29:54Z","body":"The real error I think is that ma_client is looking up some empty UIDs. And then lookup_member_names is looking up some member IDs that it is not authorized to look up, and that tries to redirect to the error page. And if we've already started showing the web page (as on the home page), that gives an error.\r\n\r\nSo we want to void querying for empty UIDs and tell it not to redirect on errors in lookup_member_names.\n\n_Trac comment by ahelsing on 12-16-2013 at 13:41_\n"}}