{"action":"created","issue":{"url":"https://api.github.com/repos/mantisbt-plugins/source-integration/issues/121","labels_url":"https://api.github.com/repos/mantisbt-plugins/source-integration/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/mantisbt-plugins/source-integration/issues/121/comments","events_url":"https://api.github.com/repos/mantisbt-plugins/source-integration/issues/121/events","html_url":"https://github.com/mantisbt-plugins/source-integration/pull/121","id":69560864,"number":121,"title":"Fix Gitlab plugin to handle payload without JSON data","user":{"login":"SRombauts","id":868490,"avatar_url":"https://avatars.githubusercontent.com/u/868490?v=3","gravatar_id":"","url":"https://api.github.com/users/SRombauts","html_url":"https://github.com/SRombauts","followers_url":"https://api.github.com/users/SRombauts/followers","following_url":"https://api.github.com/users/SRombauts/following{/other_user}","gists_url":"https://api.github.com/users/SRombauts/gists{/gist_id}","starred_url":"https://api.github.com/users/SRombauts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SRombauts/subscriptions","organizations_url":"https://api.github.com/users/SRombauts/orgs","repos_url":"https://api.github.com/users/SRombauts/repos","events_url":"https://api.github.com/users/SRombauts/events{/privacy}","received_events_url":"https://api.github.com/users/SRombauts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-20T10:56:35Z","updated_at":"2015-04-21T19:08:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mantisbt-plugins/source-integration/pulls/121","html_url":"https://github.com/mantisbt-plugins/source-integration/pull/121","diff_url":"https://github.com/mantisbt-plugins/source-integration/pull/121.diff","patch_url":"https://github.com/mantisbt-plugins/source-integration/pull/121.patch"},"body":"We have a Mantis installation managing projects under SVN, Git with Gitweb, and now we are installing a Gitlab server.\r\n\r\nProblem is the old Git server is using a hook to send POST data not in JSON format, and this screw the Gitlab plugin,\r\nthat bypass all other plugins and try to retrieve changeset from the first repository matching null repoid (which is the first repo in mantis database, a SVN repo)\r\n\r\n=> add a check for null data after the check for empy payload does the job nicely"},"comment":{"url":"https://api.github.com/repos/mantisbt-plugins/source-integration/issues/comments/94909233","html_url":"https://github.com/mantisbt-plugins/source-integration/pull/121#issuecomment-94909233","issue_url":"https://api.github.com/repos/mantisbt-plugins/source-integration/issues/121","id":94909233,"user":{"login":"SRombauts","id":868490,"avatar_url":"https://avatars.githubusercontent.com/u/868490?v=3","gravatar_id":"","url":"https://api.github.com/users/SRombauts","html_url":"https://github.com/SRombauts","followers_url":"https://api.github.com/users/SRombauts/followers","following_url":"https://api.github.com/users/SRombauts/following{/other_user}","gists_url":"https://api.github.com/users/SRombauts/gists{/gist_id}","starred_url":"https://api.github.com/users/SRombauts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SRombauts/subscriptions","organizations_url":"https://api.github.com/users/SRombauts/orgs","repos_url":"https://api.github.com/users/SRombauts/repos","events_url":"https://api.github.com/users/SRombauts/events{/privacy}","received_events_url":"https://api.github.com/users/SRombauts/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T19:08:59Z","updated_at":"2015-04-21T19:08:59Z","body":"Sorry for the inconvenience about other files with temporary debug comments!"}}