{"action":"created","issue":{"url":"https://api.github.com/repos/MISP/MISP/issues/1605","repository_url":"https://api.github.com/repos/MISP/MISP","labels_url":"https://api.github.com/repos/MISP/MISP/issues/1605/labels{/name}","comments_url":"https://api.github.com/repos/MISP/MISP/issues/1605/comments","events_url":"https://api.github.com/repos/MISP/MISP/issues/1605/events","html_url":"https://github.com/MISP/MISP/issues/1605","id":182015186,"number":1605,"title":"Cannot add a new feed?","user":{"login":"xme","id":480944,"avatar_url":"https://avatars.githubusercontent.com/u/480944?v=3","gravatar_id":"","url":"https://api.github.com/users/xme","html_url":"https://github.com/xme","followers_url":"https://api.github.com/users/xme/followers","following_url":"https://api.github.com/users/xme/following{/other_user}","gists_url":"https://api.github.com/users/xme/gists{/gist_id}","starred_url":"https://api.github.com/users/xme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xme/subscriptions","organizations_url":"https://api.github.com/users/xme/orgs","repos_url":"https://api.github.com/users/xme/repos","events_url":"https://api.github.com/users/xme/events{/privacy}","received_events_url":"https://api.github.com/users/xme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-10T13:30:25Z","updated_at":"2016-10-11T17:52:49Z","closed_at":null,"body":"I get an HTTP/500 error when trying to add a new feed...\r\n\r\n### Work environment\r\n\r\n| Questions                 | Answers\r\n|---------------------------|--------------------\r\n| Type of issue             | Bug?\r\n| OS version (server)       | Ubuntu\r\n| OS version (client)       | Any\r\n| PHP version               | 5.5\r\n| MISP version / git hash   | 2.4.52\r\n| Browser                   | n/a\r\n\r\n### Expected behavior\r\n\r\nCreation of an external feed\r\n\r\n### Actual behavior\r\n\r\nHTTP/500\r\n\r\n[2016-10-10 15:13:41] main.ERROR: {\"queue\":\"default\",\"id\":\"ad827dffe79a306828c7534e2eb54db5\",\"class\":\"ServerShell\",\"args\":[{\"0\":\"enqueuePull\",\"1\":1476104400,\"2\":\"1\",\"3\"\r\n:\"2\",\"s_time\":1476100801}]} failed: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'org_id' at row 1 {\"type\":\"fail\",\"log\":\"SQLSTATE[HY000]:\r\n General error: 1366 Incorrect integer value: '' for column 'org_id' at row 1\",\"job_id\":\"ad827dffe79a306828c7534e2eb54db5\",\"time\":817423,\"worker\":\"misp:680\"} []\r\n\r\n### Steps to reproduce the behavior\r\n\r\nCreate a new feed and save it.\r\n\r\n### Logs, screenshots, configuration dump, ...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MISP/MISP/issues/comments/252993080","html_url":"https://github.com/MISP/MISP/issues/1605#issuecomment-252993080","issue_url":"https://api.github.com/repos/MISP/MISP/issues/1605","id":252993080,"user":{"login":"iglocska","id":3668672,"avatar_url":"https://avatars.githubusercontent.com/u/3668672?v=3","gravatar_id":"","url":"https://api.github.com/users/iglocska","html_url":"https://github.com/iglocska","followers_url":"https://api.github.com/users/iglocska/followers","following_url":"https://api.github.com/users/iglocska/following{/other_user}","gists_url":"https://api.github.com/users/iglocska/gists{/gist_id}","starred_url":"https://api.github.com/users/iglocska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iglocska/subscriptions","organizations_url":"https://api.github.com/users/iglocska/orgs","repos_url":"https://api.github.com/users/iglocska/repos","events_url":"https://api.github.com/users/iglocska/events{/privacy}","received_events_url":"https://api.github.com/users/iglocska/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T17:52:49Z","updated_at":"2016-10-11T17:52:49Z","body":"I simply can't seem to be able to reproduce it. I've pushed some minor fixes one of which is a blind fix attempt for this, if you could give it a shot (though I am really grasping at straws here).\r\n\r\nCould you run a mysql query and print the results of it here though? That might help slightly:\r\n\r\ndescribe feeds;"}}
{"actor":{"display_login":"iglocska"}}