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

"charge" crashes if a scenario is disabled #228

Open
jeremysmyth opened this issue Oct 24, 2018 · 0 comments
Open

"charge" crashes if a scenario is disabled #228

jeremysmyth opened this issue Oct 24, 2018 · 0 comments

Comments

@jeremysmyth
Copy link

I get a crash when running an accountreport that references a charge ... perhour on a task when there is an inactive scenario, even if the accountreport does not use that scenario:

Fatal: Interval start must be a date, not a NilClass

This apparently happens because charge ... perhour requires that the task has a scheduled start and end, which of course doesn't happen for inactive scenarios.

I can work around it by either:

  • Scheduling the baseline scenario with active yes, or
  • Specifying actual:charge ... perhour for the active scenario "actual"
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

1 participant