{"action":"created","issue":{"url":"https://api.github.com/repos/buildbot/buildbot/issues/1886","labels_url":"https://api.github.com/repos/buildbot/buildbot/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/buildbot/buildbot/issues/1886/comments","events_url":"https://api.github.com/repos/buildbot/buildbot/issues/1886/events","html_url":"https://github.com/buildbot/buildbot/pull/1886","id":112342324,"number":1886,"title":"Fix issue with the table 'scheduler_masters'","user":{"login":"delanne","id":2690327,"avatar_url":"https://avatars.githubusercontent.com/u/2690327?v=3","gravatar_id":"","url":"https://api.github.com/users/delanne","html_url":"https://github.com/delanne","followers_url":"https://api.github.com/users/delanne/followers","following_url":"https://api.github.com/users/delanne/following{/other_user}","gists_url":"https://api.github.com/users/delanne/gists{/gist_id}","starred_url":"https://api.github.com/users/delanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delanne/subscriptions","organizations_url":"https://api.github.com/users/delanne/orgs","repos_url":"https://api.github.com/users/delanne/repos","events_url":"https://api.github.com/users/delanne/events{/privacy}","received_events_url":"https://api.github.com/users/delanne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-20T11:02:38Z","updated_at":"2015-10-24T11:24:44Z","closed_at":"2015-10-24T08:57:59Z","pull_request":{"url":"https://api.github.com/repos/buildbot/buildbot/pulls/1886","html_url":"https://github.com/buildbot/buildbot/pull/1886","diff_url":"https://github.com/buildbot/buildbot/pull/1886.diff","patch_url":"https://github.com/buildbot/buildbot/pull/1886.patch"},"body":"This table is populated by the SchedulersConnectorComponent::setSchedulerMaster, but deleted by the function MastersConnectorComponent::setMasterState even if the master is active.\r\n\r\nIf the master is active, the content of this table mustn't be deleted, otherwise schedulers aren't link to a master. As a consequence, when requesting\r\n - /api/v2/masters/<master_id>/schedulers/<sched_id>, the master field is always null. \r\n - /api/v2/schedulers, the master field is always null.\r\n- the Gui page about schedulers (http://127.0.0.1:8020/#/schedulers) the column Master is empty"},"comment":{"url":"https://api.github.com/repos/buildbot/buildbot/issues/comments/150787624","html_url":"https://github.com/buildbot/buildbot/pull/1886#issuecomment-150787624","issue_url":"https://api.github.com/repos/buildbot/buildbot/issues/1886","id":150787624,"user":{"login":"Stibbons","id":133498,"avatar_url":"https://avatars.githubusercontent.com/u/133498?v=3","gravatar_id":"","url":"https://api.github.com/users/Stibbons","html_url":"https://github.com/Stibbons","followers_url":"https://api.github.com/users/Stibbons/followers","following_url":"https://api.github.com/users/Stibbons/following{/other_user}","gists_url":"https://api.github.com/users/Stibbons/gists{/gist_id}","starred_url":"https://api.github.com/users/Stibbons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stibbons/subscriptions","organizations_url":"https://api.github.com/users/Stibbons/orgs","repos_url":"https://api.github.com/users/Stibbons/repos","events_url":"https://api.github.com/users/Stibbons/events{/privacy}","received_events_url":"https://api.github.com/users/Stibbons/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T11:24:44Z","updated_at":"2015-10-24T11:24:44Z","body":"I was wondering, maybe it is offtopic here, but someone may know the anwser: why does buildbot use SQLAlchemy Core and not ORM?"}}