Webhook events task.relation.created and task.relation.deleted doesn't appear to trigger #1676

Closed
opened 2024-01-04 07:51:08 +00:00 by IvarMatstoms · 3 comments

Description

As stated in title webhook events for "task.relation.created" and "task.relation.deleted" doesn't appear to trigger. Other events ("task.updated", "task.created", "task.deleted") works fine.

I have tried:

  • Restarted Vikunja server
  • Removed and readded the webhook
  • Logging all incoming requests to the webhook target server
  • Checked the access log for the reverse proxy connecting to the target server

Vikunja Frontend Version

0.22.0

Vikunja API Version

0.22.0

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

2024-01-04 08.33.14.png

### Description As stated in title webhook events for "task.relation.created" and "task.relation.deleted" doesn't appear to trigger. Other events ("task.updated", "task.created", "task.deleted") works fine. I have tried: - Restarted Vikunja server - Removed and readded the webhook - Logging all incoming requests to the webhook target server - Checked the access log for the reverse proxy connecting to the target server ### Vikunja Frontend Version 0.22.0 ### Vikunja API Version 0.22.0 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots ![2024-01-04 08.33.14.png](/attachments/6071389e-b76a-46ba-8d89-534f05d9aa3d)
IvarMatstoms added the
kind/bug
label 2024-01-04 07:51:09 +00:00
Owner

Looks like this is the cause:

api_1       | 2024-01-04T11:56:41.964873317Z: DEBUG	▶ models/Handle ab4b event task.relation.created does not contain a project id, not handling webhook
api_1       | 2024-01-04T11:56:41.964695073Z: ERROR	▶ models/Handle ab47 Event payload does not contain task ID
Looks like this is the cause: ``` api_1 | 2024-01-04T11:56:41.964873317Z: DEBUG ▶ models/Handle ab4b event task.relation.created does not contain a project id, not handling webhook api_1 | 2024-01-04T11:56:41.964695073Z: ERROR ▶ models/Handle ab47 Event payload does not contain task ID
Owner

Fixed in ae9b382963. Please check with the next unstable build (should be ready in ~45 min) if the problem went away.

Fixed in ae9b382963701aeb0f266c07d2dea65f76fd64e0. Please check with the next unstable build (should be ready in ~45 min) if the problem went away.
Author

I checked the unstable build, and the events trigger properly, thank you!

I checked the unstable build, and the events trigger properly, **thank you!**
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1676
No description provided.