repo.pulls.open_unmerged_pull_exists should provide a link to the related PR #14220

Open
opened 2025-11-02 11:06:49 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jpcaruana on GitHub (Mar 5, 2025).

Description

When testing gitea, we opened a first PR (#6) on a branch, closed the PR #6, opened a new PR (#8) on the same branch.

When we tried to reopen the previous PR #6, an helpful error message was displayed (related to translation key repo.pulls.open_unmerged_pull_exists:

You cannot perform a reopen operation because there is a pending pull request (#8) with identical properties.

It would be great if this message provides a link to the related PR (#8 in my case)

Screenshots

Image

Gitea Version

1.23.4

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

No response

Browser Version

All

Originally created by @jpcaruana on GitHub (Mar 5, 2025). ### Description When testing gitea, we opened a first PR (`#6`) on a branch, closed the PR `#6`, opened a new PR (`#8`) on the _same_ branch. When we tried to reopen the previous PR `#6`, an helpful error message was displayed (related to translation key `repo.pulls.open_unmerged_pull_exists`: > You cannot perform a reopen operation because there is a pending pull request (`#8`) with identical properties. It would be great if this message provides a link to the related PR (`#8` in my case) ### Screenshots <img width="812" alt="Image" src="https://github.com/user-attachments/assets/9bd5c1e0-3196-4e07-8adf-4325b57ff671" /> ### Gitea Version 1.23.4 ### Can you reproduce the bug on the Gitea demo site? Yes ### Operating System _No response_ ### Browser Version All
GiteaMirror added the type/proposaltopic/ui labels 2025-11-02 11:06:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14220