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

indicatorPeriod.update_actual_value does not update actual value for later periods #1889

Closed
gabemart opened this issue Oct 30, 2015 · 0 comments
Assignees
Milestone

Comments

@gabemart
Copy link
Contributor

Say we have period1 with update1. period1 has a baseline of 0 and update1 has a change value of +5.

Say we also have period2 which starts after period1, and period2 has update2 which has a change value of +1.

In this case, period1 has an actual_value of 5 and period2 has an actual_value of 6.

The problem happens when we edit update1 after we've already created update2. For example, if we change update1 from a +5 to a +6.

Currently, the actual_value of period2 remains at 6 - but update2 still has a change value of +1. The actual_value of period2 should be updated to 7.

The actual_value of period2 should be changed when we call update_actual_value on period1

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

No branches or pull requests

2 participants