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

Potential exportToJson.R Error #14

Closed
callahantiff opened this issue Jun 30, 2014 · 1 comment
Closed

Potential exportToJson.R Error #14

callahantiff opened this issue Jun 30, 2014 · 1 comment

Comments

@callahantiff
Copy link

When trying to run the exportToJson.R code, an error message kept occurring. In looking into the code within this file, we noticed that the allReport functions appear to be ordered alphabetically. We think that our error was generated as a result of this ordering, specifically, the generateDashboardReport function occurs before the generatePersonReport, but it seems that the DashboardReport is dependent upon thePersonReport functioning having already been ran. When we moved the generateDashboardReport function to the end of the file we were able to successfully run the code (although we are unsure if the output is correct). Could there be another reason as to why we are experiencing this error?

@chrisknoll
Copy link
Contributor

Good catch! We identified this issue ourselves: I introduced this error when adding functionality to run individual report exports, and I had to keep track of the report identifiers I put in. So, I sorted it alphabetically to keep track of that, but forgot that the dashboard report must appear last.

So, I've checked in this fix, and you should be able to pull latest code and regen.

Apologies for the trouble this caused!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants