Skip to content

Comment text lost when changing issue label #22603

Closed
@brechtvl

Description

@brechtvl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions