Skip to content

Task checkbox state is reset after page refresh in Chromium-based browsers and page hard refersh in Firefox browser #390

Description

@petrenkonikita112263

Describe the bug
Toggling a task checkbox correctly updates the task status (e.g. To Do → Done or Done → In Progress). However, after refreshing the page in Chromium-based browsers (MS Edge or GG), the checkbox is rendered as unchecked, even though the underlying task status has been updated.

Steps to reproduce

  1. Install latest Task Manager (on reported date of issue - v3.11.2)
  2. Obtain trial license
  3. From Task home page TaskManager.WebHome create any task with status ToDo
  4. Display such task in Sandbox page using wiki syntax {{task reference="TaskManager.Test Task Checkbox Functionality" status="ToDo" reporter="XWiki.Admin"/}}
  5. In the view mode toggle checkbox, notice the pop-up window with information about the successful update of the task, and also the changes in the history revision on the task page, additionaly the task now has a date of completedDate and a status of Done with 100% progress.
  6. Refresh test page

Expected behavior
The checkbox remains in the state selected by the user after the page is refreshed, reflecting the current task status.

Actual behavior
After refreshing the page, the checkbox is displayed as unchecked, although the task status was successfully updated. The visual state of the checkbox is therefore inconsistent with the actual task status.

Environment:

  • OS: Ubuntu 26.04
  • Browser: edge
  • XWiki version: 15.10
  • App version: 3.11.2

Additional context
This issue doesn't occur in Firefox browser. See confirmation of issue regarding Firefox in this comment.

On my end, in browser console I have nothing that could hint the cause of the issue, the XWiki logs contain only these lines whenever I'm toggeling the checkbox

2026-08-05 14:57:47,093 [qtp592688102-124 - http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/TaskManager/pages/Test%20Task%20Checkbox%20Functionality/task?status=toggle] WARN  o.h.e.j.s.SqlExceptionHelper   - SQL Warning Code: -1100, SQLState: 02000 
2026-08-05 14:57:47,094 [qtp592688102-124 - http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/TaskManager/pages/Test%20Task%20Checkbox%20Functionality/task?status=toggle] WARN  o.h.e.j.s.SqlExceptionHelper   - no data 

Metadata

Metadata

Assignees

Type

No type

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions