-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Team review requests get deleted when team member submits unrelated review request #17251
Comments
jpraet
added a commit
to jpraet/gitea
that referenced
this issue
Oct 7, 2021
Add missing issue_id = ? to where clause Fixes go-gitea#17251
jpraet
added a commit
to jpraet/gitea
that referenced
this issue
Oct 7, 2021
Add missing issue_id = ? to where clause Fixes go-gitea#17251
lafriks
added a commit
to jpraet/gitea
that referenced
this issue
Oct 7, 2021
6543
pushed a commit
that referenced
this issue
Oct 7, 2021
Add missing issue_id = ? to where clause Fixes #17251
jpraet
added a commit
to jpraet/gitea
that referenced
this issue
Oct 7, 2021
6543
pushed a commit
that referenced
this issue
Oct 7, 2021
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Oct 15, 2021
Add missing issue_id = ? to where clause Fixes go-gitea#17251
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Gitea Version
1.15.3
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
Team review requests unexpectedly get deleted when a team member submits any review in a (potentially unrelated) pull request.
It looks like the where clause to consider only the current PR is missing here:
https://github.com/go-gitea/gitea/blob/main/models/review.go#L444-L463
Screenshots
No response
The text was updated successfully, but these errors were encountered: