Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

bug: remaining effort on initial report creation is buggy #933

Closed
derrabauke opened this issue Feb 16, 2023 · 1 comment · Fixed by #938
Closed

bug: remaining effort on initial report creation is buggy #933

derrabauke opened this issue Feb 16, 2023 · 1 comment · Fixed by #938
Assignees
Labels

Comments

@derrabauke
Copy link
Contributor

Scenario

Create a report and add an estimated remaining effort to it.

Expected behavior

It updates the remaining effort of the certain task in the statistics view.

Actual behavior

After submitting the report the remaining effort does not update in stats view. But after editing the rem. effort and saving the report again in the timesheet, it will update the values in the stats view.

The attributes are fine in both requests to the backend. I suspect that a the POST and PATCH requests have different handling of the remaining effort attribute. Maybe the POST does not properly trigger the update?
image

@trowik
Copy link
Member

trowik commented Feb 20, 2023

Yes, you're totally right. The signal to update remaining_effort isn't properly triggered when creating a report.
Fix is on the way.

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

Successfully merging a pull request may close this issue.

2 participants