Comment text lost when changing issue label #10155

Closed
opened 2025-11-02 08:59:47 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @brechtvl on GitHub (Jan 25, 2023).

Description

To reproduce:

  • Type text in comment field on an existing issue
  • Add a label to the issue
  • Page reloads and comment field is cleared

If you've spent some time typing out a detailed comment, this is not ideal.

It was caused by #20432. Before that the comment was preserved.

Tested on Firefox 109, Ubuntu Linux 20.04.

Gitea Version

e8ac6a9 (main)

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Built Gitea myself, and confirmed on try.gitea.io.

Database

None

Originally created by @brechtvl on GitHub (Jan 25, 2023). ### Description To reproduce: * Type text in comment field on an existing issue * Add a label to the issue * Page reloads and comment field is cleared If you've spent some time typing out a detailed comment, this is not ideal. It was caused by #20432. Before that the comment was preserved. Tested on Firefox 109, Ubuntu Linux 20.04. ### Gitea Version e8ac6a9 (main) ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Built Gitea myself, and confirmed on try.gitea.io. ### Database None
GiteaMirror added the type/bug label 2025-11-02 08:59:47 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jan 26, 2023):

It's actually caused by this issue #17705 (more discussions in #22604)

@wxiaoguang commented on GitHub (Jan 26, 2023): It's actually caused by this issue #17705 (more discussions in #22604)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10155