Description
- Gitea version (or commit ref): 6a1a633 (master)
- Git version: 2.19.0
- Operating system: N/A
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL): https://try.gitea.io/richmahn/hbo_uhb/blame/branch/master/16-NEH.usfm#L875
- No
- Not relevant
- Log gist:
Description
When viewing a file in the blame page via a URL that has the desired line # to highlight, it goes to that line number but then after the file load (large file) it changes the URL argument to "undefined" and never highlights the desired line.
https://try.gitea.io/richmahn/hbo_uhb/blame/branch/master/16-NEH.usfm#L875
results in
https://try.gitea.io/richmahn/hbo_uhb/blame/branch/master/16-NEH.usfm#undefined
and then after a few seconds, it goes back to the top of the list, losing its place at line 875.
Actually going to a file with no Line # in the URL and then clicking on a line # also results in "undefined" in the URL rather than the line #:
Example:
https://try.gitea.io/richmahn/hbo_uhb/blame/branch/master/manifest.yaml
click on a line number
In a version of Gitea running v1.12.4 (our production version), it works, yet the CSS styling of the lines don't match up, so we were looking at v1.13.x development branch:
https://git.door43.org/unfoldingword/hbo_uhb/blame/branch/master/16-NEH.usfm#L875