404 on POST for Lock PR conversation #9842

Closed
opened 2025-11-02 08:51:05 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @kenji21 on GitHub (Nov 15, 2022).

Description

When trying to lock a PR conversation (merged or not), the query results in a 404 : "POST /{owner}/{repo}/pulls/1/lock HTTP/1.1" 404

With this configuration line :

DISABLED_REPO_UNITS = repo.wiki, repo.issues

Works fine when removing repo.issues from disabled units:

DISABLED_REPO_UNITS = repo.wiki

Gitea Version

1.17.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.30.2

Operating System

debian 10.13

How are you running Gitea?

downloaded from GitHub releases, running with systemd

Database

MySQL

Originally created by @kenji21 on GitHub (Nov 15, 2022). ### Description When trying to lock a PR conversation (merged or not), the query results in a 404 : `"POST /{owner}/{repo}/pulls/1/lock HTTP/1.1" 404` With this configuration line : ``` DISABLED_REPO_UNITS = repo.wiki, repo.issues ``` Works fine when removing repo.issues from disabled units: ``` DISABLED_REPO_UNITS = repo.wiki ``` ### Gitea Version 1.17.3 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version 2.30.2 ### Operating System debian 10.13 ### How are you running Gitea? downloaded from GitHub releases, running with systemd ### Database MySQL
GiteaMirror added the type/bug label 2025-11-02 08:51:05 -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#9842