Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issue comments are not updated after editing (if attachments are disabled) #31485

@ukct

Description

@ukct

Description

Attempting to edit a comment and then save it results in a javascript error withn repo-issue-edit.js, if attachments are disabled.

To reproduce:

From the UI:

  • create new issue
  • add a comment
  • edit that comment
  • saving the edit will throw a javascript error in the saveAndRefresh method in repo-issue-edit.js, when attempting to iterate through dropzoneInst

This appears to be a new issue introduced in 1.22.

Gitea Version

1.22.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Helm gitea chart

Database

PostgreSQL

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