------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4759/
------------------------------------------------------------------------------
New ticket #4759 by splatter2
For Beanbag, Inc. > Review Board
Status: New
Tags: Priority:Medium, Type:Defect
------------------------------------------------------------------------------
Webhooks are broken in 3.0.9
==============================================================================
# What version are you running?
3.0.9
# What's the URL of the page containing the problem?
N/A
# What steps will reproduce the problem?
1. Create a webhook for the "Review Request published" event. Use defaults for
payload (JSON data, no custom content).
2. Trigger the webhook by publishing a new ReviewRequest
# What is the expected output? What do you see instead?
Expect webhook to publish json data to the given URL.
Instead, no data is published to the url, and an error appears in the
ReviewBoard server log
# What operating system are you using? What browser?
N/A
# Please provide any additional information below.
Error from log:
```
root - Webhook payload passed to dispatch_webhook_event containing invalid
data types: <type 'long'> is not a valid data type for values in webhook
payloads.
File
"/usr/lib64/python2.7/site-packages/reviewboard/notifications/webhooks.py",
line 185, in _normalize_value
payload = normalize_webhook_payload(payload, request)Traceback:
...
...
File
"/usr/lib64/python2.7/site-packages/reviewboard/notifications/webhooks.py",
line 185, in _normalize_value
% value_type)
TypeError: <type 'long'> is not a valid data type for values in webhook
payloads.
```
------------------------------------------------------------------------------
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.