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

Tasks can be completed after resolution #9612

Open
kennsippell opened this issue Nov 4, 2024 · 2 comments
Open

Tasks can be completed after resolution #9612

kennsippell opened this issue Nov 4, 2024 · 2 comments
Labels
Type: Bug Fix something that isn't working as intended
Milestone

Comments

@kennsippell
Copy link
Member

kennsippell commented Nov 4, 2024

Describe the bug
Eager users can complete resolved tasks again before the task disappears from the UI.
This can cause strange outcomes for workflows and oddities in data.

To Reproduce

  1. Navigate to tasks tab
  2. Open a task
  3. Fill in the form. You are now ready to submit the form and resolve the task
  4. Click Submit and quickly click on the task you just completed

Expected behavior
Users should not be able to complete tasks multiple times
Observed behavior: this user has resolved the task but also has the UI open to complete ita gain

Environment

  • Instance: Nairobi eCHIS
  • App: webapp
  • Version: 4.13

Example reports completed from same task:
https://nairobi.echis.go.ke/#/reports/3fc1bc12-be55-4b53-9bb6-a6c94a7b0963
https://nairobi.echis.go.ke/#/reports/8a0562d3-981b-417d-a801-417108466fab

@kennsippell kennsippell added the Type: Bug Fix something that isn't working as intended label Nov 4, 2024
@korirm
Copy link
Member

korirm commented Nov 5, 2024

@dianabarsan, we have seen this behavior in the current payroll generation for Nairobi. We request prioritization of this fix as we are in a scale-up phase of the project; more users will be onboarded to use eCHIS for their stipend payments.

@dianabarsan
Copy link
Member

I think hiding the task list immediately after task submission - showing a loader instead of the task list - is probably the easiest way to work around this.

@dianabarsan dianabarsan added this to the 4.15.0 milestone Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Fix something that isn't working as intended
Projects
Status: Next Week's Commitments
Development

No branches or pull requests

3 participants