Skip to content

Wrong issue suggested and selected when copy-pasting ID #33522

Closed
@bartvdbraak

Description

@bartvdbraak

Description

If we paste in a report number, the "suggested reports" feature will pop up and suggest the wrong report.

Example:

  1. Go to a report
  2. In the text box for a comment type in # then paste in a report number you copied from a different report.
  3. Notice the "suggested reports" box pops up, suggested a report different from the one you just pasted,
  4. And if you press Enter, it will select it.

Gitea Version

1.23.1 built with GNU Make 4.4.1, go1.23.5 : bindata, timetzdata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

Gitea.wrong.suggestion.mp4

Git Version

2.47.2

Operating System

Ubuntu 24.04

How are you running Gitea?

Docker Compose with source of truth at https://github.com/blender/gitea

Database

PostgreSQL

Metadata

Metadata

Assignees

Labels

issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/uiChange the appearance of the Gitea UItype/bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions