go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
45.15k stars 5.49k forks source link

Lost checks while editing issue with Tasklist #27109

Open KazzmanK opened 1 year ago

KazzmanK commented 1 year ago

Description

  1. Create an issue with tasklist
  2. Check some checkboxes with mouse click, not by edit issue source (as they are completed)
  3. Try edit issue (like add another item in tasklist) Expected Altered checks must be [x] Actual Checks as empty [ ] , changes are lost

If you refresh page between 2 and 3 [x] will be in place

Screenshots

none

Gitea Version

1.20.3

Can you reproduce the bug on the Gitea demo site?

No

Operating System

No response

Browser Version

116

wxiaoguang commented 1 year ago

Related to #24253 and #22907

The solution is to use more AJAX