{"action":"opened","issue":{"url":"https://api.github.com/repos/concrete5/addon_migration_tool_legacy/issues/3","labels_url":"https://api.github.com/repos/concrete5/addon_migration_tool_legacy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/addon_migration_tool_legacy/issues/3/comments","events_url":"https://api.github.com/repos/concrete5/addon_migration_tool_legacy/issues/3/events","html_url":"https://github.com/concrete5/addon_migration_tool_legacy/issues/3","id":119982965,"number":3,"title":"Rework Export Batch Functionality","user":{"login":"aembler","id":527809,"avatar_url":"https://avatars.githubusercontent.com/u/527809?v=3","gravatar_id":"","url":"https://api.github.com/users/aembler","html_url":"https://github.com/aembler","followers_url":"https://api.github.com/users/aembler/followers","following_url":"https://api.github.com/users/aembler/following{/other_user}","gists_url":"https://api.github.com/users/aembler/gists{/gist_id}","starred_url":"https://api.github.com/users/aembler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aembler/subscriptions","organizations_url":"https://api.github.com/users/aembler/orgs","repos_url":"https://api.github.com/users/aembler/repos","events_url":"https://api.github.com/users/aembler/events{/privacy}","received_events_url":"https://api.github.com/users/aembler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/concrete5/addon_migration_tool_legacy/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T16:36:23Z","updated_at":"2015-12-02T16:36:23Z","closed_at":null,"body":"Right now, the core exportPage() method renders the page, in order to make sure that all the areas get included properly in the export. Unfortunately, attempting to render the dashboard after doing this causes problems. We didn't notice this before because we never ran the View::render() method. We need to refactor export so that it does the following:\r\n\r\n1. Upon visiting the export page, we check to see if export XML already exists. If it does, we just list the files and provide a link to the XML.\r\n2. If the XML file doesn't exist, we generate the XML, save it to the files directory, and refresh the page. This will stop at #1 above. \r\n3. Add a \"Refresh\" button to the page, which will remove the XML, and refresh the page (which will then trigger step no. 2 above.)\r\n\r\n"}}