Skip to content

Gitea shows wrong code on lines with comments on Conversation tab #14268

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

Closed
1 of 6 tasks
lakostin opened this issue Jan 6, 2021 · 2 comments
Closed
1 of 6 tasks

Gitea shows wrong code on lines with comments on Conversation tab #14268

lakostin opened this issue Jan 6, 2021 · 2 comments
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail

Comments

@lakostin
Copy link

lakostin commented Jan 6, 2021

  • Gitea version (or commit ref):
    1.14.0+dev-514-gd2ee1221c
  • Git version:
    2.26.2
  • Operating system:
    docker Alpine Linux v3.12
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

I added comment to line. On Conversation tab gitea shows comment with other code, line numbers are correct though.
...

Screenshots

Conversation tab:
Screenshot from 2021-01-06 13-39-01
Files changed tab:
Screenshot from 2021-01-06 13-38-39

@jpraet
Copy link
Member

jpraet commented Jan 6, 2021

Probably a duplicate of #13683 (which is already fixed.. but it doesn't fix the location for existing comments).

Do you know what version you were on 6 days ago when you made the comment?
Could you delete the comment and add it again to see if the problem persists?

@lafriks lafriks added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Jan 7, 2021
@lakostin
Copy link
Author

Updated gitea, deleted comment and added a new one - the problem is gone. Thank you.

@lunny lunny closed this as completed Jan 14, 2021
@go-gitea go-gitea locked and limited conversation to collaborators Mar 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail
Projects
None yet
Development

No branches or pull requests

4 participants