Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework Export Batch Functionality #3

Open
aembler opened this issue Dec 2, 2015 · 1 comment
Open

Rework Export Batch Functionality #3

aembler opened this issue Dec 2, 2015 · 1 comment

Comments

@aembler
Copy link
Member

aembler commented Dec 2, 2015

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:

  1. 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.
  2. 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 Incorrect theme path? #1 above.
  3. Add a "Refresh" button to the page, which will remove the XML, and refresh the page (which will then trigger step no. 2 above.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant