Closed
Description
- Gitea version (or commit ref): 1.12.3
- Git version:
- Operating system: Ubuntu
- Database (use
[x]
):- PostgreSQL
- MSSQL
- MySQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
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:
2020/08/31 10:07:45 .../repo/pull_review.go:50:CreateCodeComment() [E] CreateCodeComment: LineBlame[refs/pull/23/head, /data/git/repositories/xxxx/test.git, views/js/test.js, 98]: exit status 128 - fatal: file views/js/test.js has only 50 lines
Screenshots
Error 500 page
Metadata
Metadata
Assignees
Labels
No labels