{"action":"created","issue":{"url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3207","repository_url":"https://api.github.com/repos/thewca/worldcubeassociation.org","labels_url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3207/labels{/name}","comments_url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3207/comments","events_url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3207/events","html_url":"https://github.com/thewca/worldcubeassociation.org/pull/3207","id":349450885,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NTYyOTAy","number":3207,"title":"Check schedule and events/rounds match before confirming a competition","user":{"login":"viroulep","id":1007485,"node_id":"MDQ6VXNlcjEwMDc0ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/1007485?v=4","gravatar_id":"","url":"https://api.github.com/users/viroulep","html_url":"https://github.com/viroulep","followers_url":"https://api.github.com/users/viroulep/followers","following_url":"https://api.github.com/users/viroulep/following{/other_user}","gists_url":"https://api.github.com/users/viroulep/gists{/gist_id}","starred_url":"https://api.github.com/users/viroulep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viroulep/subscriptions","organizations_url":"https://api.github.com/users/viroulep/orgs","repos_url":"https://api.github.com/users/viroulep/repos","events_url":"https://api.github.com/users/viroulep/events{/privacy}","received_events_url":"https://api.github.com/users/viroulep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-10T09:56:13Z","updated_at":"2018-12-19T17:12:36Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/thewca/worldcubeassociation.org/pulls/3207","html_url":"https://github.com/thewca/worldcubeassociation.org/pull/3207","diff_url":"https://github.com/thewca/worldcubeassociation.org/pull/3207.diff","patch_url":"https://github.com/thewca/worldcubeassociation.org/pull/3207.patch"},"body":"Fixes #3574.\r\n:warning: This will effectively prevent organizers/Delegates from confirming a competition before they have created a valid schedule in the \"Manage Schedule\" page.\r\nIt should not be merged before #3018 is merged, and we should wait for when the Board is ready to enforce this.\r\n\r\nThe validation is triggered only when `isConfirmed` changes, for two reasons:\r\n  - it's fine if old competitions do not have a schedule on the WCA website\r\n  - for announced competitions, organizers/Delegates may add/remove rounds before the start of the competition. As we don't have a unified events+schedule editor, running the validation would fail when they add/remove a round before adjusting the schedule. Note that the \"warning\" alert would still be displayed in this case, to remind the organizers/Delegates that something needs to be done about it."},"comment":{"url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/comments/448673022","html_url":"https://github.com/thewca/worldcubeassociation.org/pull/3207#issuecomment-448673022","issue_url":"https://api.github.com/repos/thewca/worldcubeassociation.org/issues/3207","id":448673022,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODY3MzAyMg==","user":{"login":"viroulep","id":1007485,"node_id":"MDQ6VXNlcjEwMDc0ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/1007485?v=4","gravatar_id":"","url":"https://api.github.com/users/viroulep","html_url":"https://github.com/viroulep","followers_url":"https://api.github.com/users/viroulep/followers","following_url":"https://api.github.com/users/viroulep/following{/other_user}","gists_url":"https://api.github.com/users/viroulep/gists{/gist_id}","starred_url":"https://api.github.com/users/viroulep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viroulep/subscriptions","organizations_url":"https://api.github.com/users/viroulep/orgs","repos_url":"https://api.github.com/users/viroulep/repos","events_url":"https://api.github.com/users/viroulep/events{/privacy}","received_events_url":"https://api.github.com/users/viroulep/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T17:12:36Z","updated_at":"2018-12-19T17:12:36Z","author_association":"MEMBER","body":"I didn't have any review from the WST though :(\r\n@jfly, @jonatanklosko: would you have time to review somehow?"}}
{"actor":{"display_login":"viroulep"}}