{"action":"created","issue":{"url":"https://api.github.com/repos/teltek/Galicaster/issues/443","repository_url":"https://api.github.com/repos/teltek/Galicaster","labels_url":"https://api.github.com/repos/teltek/Galicaster/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/teltek/Galicaster/issues/443/comments","events_url":"https://api.github.com/repos/teltek/Galicaster/issues/443/events","html_url":"https://github.com/teltek/Galicaster/issues/443","id":184490533,"number":443,"title":"Galicaster does not update scheduled events when their date/time changes","user":{"login":"smarquard","id":5888197,"avatar_url":"https://avatars.githubusercontent.com/u/5888197?v=3","gravatar_id":"","url":"https://api.github.com/users/smarquard","html_url":"https://github.com/smarquard","followers_url":"https://api.github.com/users/smarquard/followers","following_url":"https://api.github.com/users/smarquard/following{/other_user}","gists_url":"https://api.github.com/users/smarquard/gists{/gist_id}","starred_url":"https://api.github.com/users/smarquard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarquard/subscriptions","organizations_url":"https://api.github.com/users/smarquard/orgs","repos_url":"https://api.github.com/users/smarquard/repos","events_url":"https://api.github.com/users/smarquard/events{/privacy}","received_events_url":"https://api.github.com/users/smarquard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-21T13:53:01Z","updated_at":"2016-10-21T14:36:01Z","closed_at":null,"body":"1. Schedule an event on an Opencast server\r\n\r\n2. CA updates the iCal, mediapackage is created for new event in the Galicaster repo\r\n\r\n3. Adjust the date/time of the event on the Opencast server (e.g. move it a day earlier or later)\r\n\r\n4. Galicaster updates the local iCal file (opencast/client iCal modified), but does not update the date/time of the existing scheduled event\r\n\r\n5. Event records at the wrong date/time.\r\n\r\nAdding new events works ok, and deleting events works ok.\r\n"},"comment":{"url":"https://api.github.com/repos/teltek/Galicaster/issues/comments/255394125","html_url":"https://github.com/teltek/Galicaster/issues/443#issuecomment-255394125","issue_url":"https://api.github.com/repos/teltek/Galicaster/issues/443","id":255394125,"user":{"login":"smarquard","id":5888197,"avatar_url":"https://avatars.githubusercontent.com/u/5888197?v=3","gravatar_id":"","url":"https://api.github.com/users/smarquard","html_url":"https://github.com/smarquard","followers_url":"https://api.github.com/users/smarquard/followers","following_url":"https://api.github.com/users/smarquard/following{/other_user}","gists_url":"https://api.github.com/users/smarquard/gists{/gist_id}","starred_url":"https://api.github.com/users/smarquard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarquard/subscriptions","organizations_url":"https://api.github.com/users/smarquard/orgs","repos_url":"https://api.github.com/users/smarquard/repos","events_url":"https://api.github.com/users/smarquard/events{/privacy}","received_events_url":"https://api.github.com/users/smarquard/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T14:36:01Z","updated_at":"2016-10-21T14:36:01Z","body":"I think the final fix for this is to change in get_updated_events:\r\n\r\n                out.append(old_event)\r\nto\r\n                out.append(new_event)\r\n\r\nand then in handle_ical, add create_mp(repo, event) like this:\r\n\r\n```\r\n            for event in update_events:\r\n                logger and logger.info('Updating MP with UID {0} from ical'.format(event['UID']))\r\n                create_mp(repo, event)\r\n                mp = repo.get(event['UID'])\r\n                scheduler.update_timer(mp)\r\n```"}}
{"actor":{"display_login":"smarquard"}}