-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Request changes on pull request results in server error 500 #7205
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
Comments
Not sure if this is same issue, but any pull request we have created shows a 500 error when trying to see the pull request once it is merged. We are using Gitea Version: 1.9.0+dev-376-ge07ff2f89 and the log shows:
If it helps, an open or closed pull request does show the list of changes, commits and comments as you'd expect, it's only once it's merged that the 500 error shows up |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
I have the same issue with version 1.9.4. |
Maybe this can help? |
@Ahaus314 this is not the same issue. Your error is on merging not on adding a request changes comment. You likely need to try a different merge strategy but I recommend you open a different issue. |
Got the same error and opened a new issue #8744 |
I think this has been resolved and please feel free to reopen it. |
[x]
):Description
Submitting a long comment to a code review with the button "request changes" leads into a 500 page. The following line in the file gitea.log appears in that moment:
2019/06/14 13:20:11 [.../repo/pull_review.go:163 SubmitReview()] [E] CreateReview: pq: value too long for type character varying(255)
I was able to fix the issue by manual changing the column type of
content
in the tablepublic.review
to just varchar (without limit).The gitea setup is 6 month old and is continuously updated when a new version is arriving.
Maybe an other migration file is needed to have these changes for other "long-time" users as well.
The text was updated successfully, but these errors were encountered: