-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Error when trying to reply to a comment in an outdated file #12658
Comments
I can confirm - this bug happened to me as well. Reproduction on try.gitea.io: https://try.gitea.io/knut/issue-12658/pulls/1 Parallel discussion: https://codeberg.org/Codeberg/Community/issues/299 |
Line 130 in ae23bbd
Needs to do the same check I added in #11882: Line 573 in 5e1c51c
Line 578 in 5e1c51c
This is therefore likely a 2 line PR to fix. |
[x]
):Description
During a review: when trying to reply to a comment in an outdated file, a 500 error occurs.
The file originally had many lines, ex 100
A comment is made on a line, ex 90
The file is modified so that it has less than 90 lines, example 50
When trying to reply to the comment the following error occurs:
Screenshots
Error 500 page
The text was updated successfully, but these errors were encountered: