Details
-
Bug
-
Resolution: Not a bug
-
Medium
-
3
-
Severity 3 - Minor
-
Description
Issue Summary
Whenever we check/uncheck a task, the status won't get updated in the database and as soon as you refresh the current page or navigate to a different page then get back to the first one, the tasks will be with their previous status.
Steps to Reproduce
- Create a page;
- Add a few tasks;
- Upon publishing the page, check one of the tasks;
- Refresh the page.
Expected Results
The task you checked is still checked.
Actual Results
The task gets to its previous state.
Notes:
- Sometimes it works as expected and the tasks get checked (specially when you check more than just a single task), but then it stop behaving correctly for the other tasks.
Workaround
We could identify that this issue occurs when we trigger the task action (check/uncheck) while the page is loading, so when it finishes loading completely, the PUT request that the task action triggers is canceled, which makes the tasks to do not keep the state we set them.
The workaround consists in to wait for the page gets completely loaded, then we can trigger the task action.