{"action":"reopened","issue":{"url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/533","labels_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/533/comments","events_url":"https://api.github.com/repos/WikiEducationFoundation/WikiEduDashboard/issues/533/events","html_url":"https://github.com/WikiEducationFoundation/WikiEduDashboard/issues/533","id":122372569,"number":533,"title":"Adding blackout weeks after course creation can result in more Weeks than available calendar weeks","user":{"login":"thenickcox","id":702327,"avatar_url":"https://avatars.githubusercontent.com/u/702327?v=3","gravatar_id":"","url":"https://api.github.com/users/thenickcox","html_url":"https://github.com/thenickcox","followers_url":"https://api.github.com/users/thenickcox/followers","following_url":"https://api.github.com/users/thenickcox/following{/other_user}","gists_url":"https://api.github.com/users/thenickcox/gists{/gist_id}","starred_url":"https://api.github.com/users/thenickcox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thenickcox/subscriptions","organizations_url":"https://api.github.com/users/thenickcox/orgs","repos_url":"https://api.github.com/users/thenickcox/repos","events_url":"https://api.github.com/users/thenickcox/events{/privacy}","received_events_url":"https://api.github.com/users/thenickcox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-15T21:37:14Z","updated_at":"2015-12-17T00:44:13Z","closed_at":null,"body":"Credit to @bmathews for finding this one.\r\n\r\nCurrently, if the timeline is created and a particular week contains blocks, if you make that week a blackout week (by pressing \"Edit Course Dates\" on the timeline), the week just doesn't get shown, and the blocks don't get redistributed. Adding course meetings back to that week causes the week to display again, and everything is happy. But if you then add a week later, the course dates get confused.\r\n\r\nIt seems like if you make a blackout week from a previously existing week, we should delete the week and its blocks.\r\n\r\n@ragesoss does this make sense?"}}