Skip to content

MySQL: Internal server error 500 when request changes in a code review with non ascii characters in comment #7043

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
2 of 7 tasks
ratuka opened this issue May 25, 2019 · 4 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@ratuka
Copy link

ratuka commented May 25, 2019

  • Gitea version (or commit ref): 1.8.1
  • Git version: not relevant
  • Operating system: not relevant
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

2019/05/25 18:02:15 [.../repo/pull_review.go:170 SubmitReview()] [E] UpdateReview: Error 1366: Incorrect string value: '\xC5\x9 1l v\xC3...' for column 'content' at row 1
2019/05/25 18:02:15 [D] Template: status/500

@zeripath
Copy link
Contributor

this is likely to be yet another mysql utf8 table format issue. You need to change your tables to utf8mb4.

@zeripath zeripath changed the title Internal server error 500 when request changes in a code review with non ascii characters in comment MySQL: Internal server error 500 when request changes in a code review with non ascii characters in comment May 25, 2019
@ratuka
Copy link
Author

ratuka commented May 25, 2019

Could it be a solution but why does it work in a lot of other places?

@lafriks lafriks added the issue/duplicate The issue has already been reported. label May 25, 2019
@lafriks
Copy link
Member

lafriks commented May 25, 2019

Duplicate of #6236

@lafriks lafriks marked this as a duplicate of #6236 May 25, 2019
@lafriks lafriks closed this as completed May 25, 2019
@lafriks
Copy link
Member

lafriks commented May 25, 2019

Please reopen if this different issue

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

3 participants