Skip to content

Comment text lost when changing issue label #22603

@brechtvl

Description

@brechtvl
Contributor

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

Activity

added a commit that references this issue on Jan 26, 2023
790705b
wxiaoguang

wxiaoguang commented on Jan 26, 2023

@wxiaoguang
Contributor

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

added a commit that references this issue on Feb 1, 2023
1e0e79d
locked and limited conversation to collaborators on May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @brechtvl@wxiaoguang

      Issue actions

        Comment text lost when changing issue label · Issue #22603 · go-gitea/gitea