Skip to content

project.updated webhook payload includes zeroed project data #1498

@jjarboe

Description

@jjarboe

Description

When I modify the project description, the conifigured webhook is sent but the payload includes a mostly zeroed-out project object (only the id and views seem to be valid):

{'project': {'id': 91, 'title': '', 'description': '', 'identifier': '', 'hex_color': '', 'parent_project_id': 0, 'owner': None, 'is_archived': False, 'background_information': None, 'background_blur_hash': '', 'is_favorite': False, 'position': 0, 'views': [{'id': 365, 'title': 'List', 'project_id': 91, 'view_kind': 'list', 'filter': {'s': '', 'sort_by': None, 'order_by': None, 'filter': 'done = false', 'filter_include_nulls': False}, 'position': 100, 'bucket_configuration_mode': 'none', 'bucket_configuration': None, 'default_bucket_id': 0, 'done_bucket_id': 0, 'updated': '2025-09-12T22:08:34Z', 'created': '2025-09-12T22:08:34Z'}, {'id': 366, 'title': 'Gantt', 'project_id': 91, 'view_kind': 'gantt', 'filter': None, 'position': 200, 'bucket_configuration_mode': 'none', 'bucket_configuration': None, 'default_bucket_id': 0, 'done_bucket_id': 0, 'updated': '2025-09-12T22:08:34Z', 'created': '2025-09-12T22:08:34Z'}, {'id': 367, 'title': 'Table', 'project_id': 91, 'view_kind': 'table', 'filter': None, 'position': 300, 'bucket_configuration_mode': 'none', 'bucket_configuration': None, 'default_bucket_id': 0, 'done_bucket_id': 0, 'updated': '2025-09-12T22:08:34Z', 'created': '2025-09-12T22:08:34Z'}, {'id': 368, 'title': 'Kanban', 'project_id': 91, 'view_kind': 'kanban', 'filter': None, 'position': 400, 'bucket_configuration_mode': 'manual', 'bucket_configuration': None, 'default_bucket_id': 275, 'done_bucket_id': 277, 'updated': '2025-09-12T22:08:34Z', 'created': '2025-09-12T22:08:34Z'}], 'max_permission': 0, 'created': '0001-01-01T00:00:00Z', 'updated': '0001-01-01T00:00:00Z'}}

On the off chance that the payload uses zeroed-out fields to indicate that the field did not change, I verified that the payload includes a zero-length description when I definitely made changes to the description and saved the project with a description that is not empty.

My webhook endpoint is not publicly visible, so I cannot reproduce in demo.

Vikunja Version

1.0.0-rc2

Browser and version

Chrome 139.0.7258.155 (Mac)

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions