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.
- Create a page;
- Add a few tasks;
- Upon publishing the page, check one of the tasks;
- Refresh the page.
The task you checked is still checked.
The task gets to its previous state.
- 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.
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.