[GH-ISSUE #2125] Empty fields in task.assignee.deleted event webhook #6551

Closed
opened 2026-04-20 17:08:53 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @sw-jannik on GitHub (Jan 20, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2125

Description

When deleting an assignee from a task, the name and username fields of the assignee object are empty in the output of the task.assignee.deleted webhook.

I would expect these to include the complete data, as it does in the task.assignee.created event.

{
  "event_name": "task.assignee.deleted",
  "time": "2026-01-20T17:05:19.864947849Z",
  "data": {
    "assignee": {
      "created": "0001-01-01T00:00:00Z",
      "id": 1,
      "name": "",
      "updated": "0001-01-01T00:00:00Z",
      "username": ""
    },

Vikunja Version

v1.0.0-rc3-243-606d10f9

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

Originally created by @sw-jannik on GitHub (Jan 20, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2125 ### Description When deleting an assignee from a task, the `name` and `username` fields of the `assignee` object are empty in the output of the `task.assignee.deleted` webhook. I would expect these to include the complete data, as it does in the `task.assignee.created` event. ```json { "event_name": "task.assignee.deleted", "time": "2026-01-20T17:05:19.864947849Z", "data": { "assignee": { "created": "0001-01-01T00:00:00Z", "id": 1, "name": "", "updated": "0001-01-01T00:00:00Z", "username": "" }, ``` ### Vikunja Version v1.0.0-rc3-243-606d10f9 ### Browser and version _No response_ ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
Author
Owner

@sw-jannik commented on GitHub (Jan 21, 2026):

It seems more events are affected by this.
The result of the task.comment.deleted webhook is also missing field content in data.comment except for the id.
In this case the doer is also null

{
  "event_name": "task.comment.deleted",
  "time": "2026-01-21T11:15:31.172620279Z",
  "data": {
    "comment": {
      "author": null,
      "comment": "",
      "created": "0001-01-01T00:00:00Z",
      "id": 149,
      "reactions": null,
      "updated": "0001-01-01T00:00:00Z"
    },
    "doer": null,
<!-- gh-comment-id:3777572859 --> @sw-jannik commented on GitHub (Jan 21, 2026): It seems more events are affected by this. The result of the `task.comment.deleted` webhook is also missing field content in `data.comment` except for the `id`. In this case the `doer` is also `null` ```json { "event_name": "task.comment.deleted", "time": "2026-01-21T11:15:31.172620279Z", "data": { "comment": { "author": null, "comment": "", "created": "0001-01-01T00:00:00Z", "id": 149, "reactions": null, "updated": "0001-01-01T00:00:00Z" }, "doer": null, ```
Author
Owner

@kolaente commented on GitHub (Jan 21, 2026):

Does it affect only deleted webhooks?

<!-- gh-comment-id:3777914883 --> @kolaente commented on GitHub (Jan 21, 2026): Does it affect only deleted webhooks?
Author
Owner

@sw-jannik commented on GitHub (Jan 21, 2026):

Does it affect only deleted webhooks?

Yes. All created hooks i've used so far were fine.

<!-- gh-comment-id:3778009833 --> @sw-jannik commented on GitHub (Jan 21, 2026): > Does it affect only deleted webhooks? Yes. All created hooks i've used so far were fine.
Author
Owner

@vikunja-bot-app[bot] commented on GitHub (Jan 24, 2026):

This issue has been fixed in #2135, please check with the next unstable build (should be ready for deployment in ~30min, also on the demo).

<!-- gh-comment-id:3794522998 --> @vikunja-bot-app[bot] commented on GitHub (Jan 24, 2026): This issue has been fixed in #2135, please check with the next unstable build (should be ready for deployment in ~30min, also on [the demo](https://try.vikunja.io)).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6551