tududi/backend/modules/projects
Chris 2b71938c30
Fix project update API to support clearing nullable fields (#961)
Resolves #960

The update_project endpoint now properly handles clearing nullable fields
(due_date_at, area_id, priority, image_url) when set to null or empty string.

Previously, sending an empty string would not clear the field. Now empty
strings are explicitly converted to null for database consistency.

Changes:
- Convert empty strings to null for nullable fields in project update
- Add tests for clearing due_date_at with null and empty string
- Apply same fix to area_id, priority, and image_url for consistency
2026-03-22 22:17:23 +02:00
..
controller.js Fix project view due date timezone bug and recurring multi-weekday bug (#836) 2026-02-12 12:12:24 +02:00
dueProjectService.js Fix Telegram notification spam with channel-level rate limiting (#951) 2026-03-19 20:26:11 +02:00
index.js Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
repository.js Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
routes.js Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00
service.js Fix project update API to support clearing nullable fields (#961) 2026-03-22 22:17:23 +02:00
validation.js Fix bug 366 (#764) 2026-01-07 18:18:07 +02:00