We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[x]
When using the Add Single Comment button in review view:
Add Single Comment
2020/06/18 00:16:52 ...les/context/panic.go:35:1() [E] PANIC:: interface conversion: structs.Payloader is *structs.PullRequestPayload, not *structs.IssueCommentPayload /usr/local/go/src/runtime/iface.go:260 (0x411bfa) /usr/local/go/src/runtime/iface.go:270 (0x411b5f) /go/src/code.gitea.io/gitea/modules/webhook/slack.go:324 (0x16da5ce) /go/src/code.gitea.io/gitea/modules/webhook/webhook.go:93 (0x16ddbea) /go/src/code.gitea.io/gitea/modules/webhook/webhook.go:201 (0x16de74a) /go/src/code.gitea.io/gitea/modules/webhook/webhook.go:165 (0x16de366) /go/src/code.gitea.io/gitea/modules/notification/webhook/webhook.go:672 (0x16efc72) /go/src/code.gitea.io/gitea/modules/notification/notification.go:86 (0x16f1f17) /go/src/code.gitea.io/gitea/services/pull/review.go:192 (0x178564b) /go/src/code.gitea.io/gitea/services/pull/review.go:97 (0x178441b) /go/src/code.gitea.io/gitea/routers/repo/pull_review.go:38 (0x19f51b9)
The text was updated successfully, but these errors were encountered:
That's because for HookEventPullRequestComment event, some places use IssueCommentPayload and others use PullRequestPayload
HookEventPullRequestComment
IssueCommentPayload
PullRequestPayload
Sorry, something went wrong.
I am working on a fix for this.
Successfully merging a pull request may close this issue.
[x]
):Description
When using the
Add Single Comment
button in review view:The text was updated successfully, but these errors were encountered: