WORKFLOW-APP/app/api/tasks/[id]
Dave 19f60eba42 fix: handle unknown/empty task statuses without crashing
A task with status='' caused the Kanban byColumn memo to throw
TypeError: undefined is not an object (out[t.status].push).

Defensive UI: bucket unknown statuses into backlog with a console
warning. Defensive API: reject PATCHes with invalid status values
(including empty string) with a 400. Cleaned up two existing
empty-status rows in PB.
2026-08-17 19:00:42 +02:00
..
cancel Director appointment acceptance — full feature 2026-08-17 18:39:14 +02:00
claim Director appointment acceptance — full feature 2026-08-17 18:39:14 +02:00
complete Director appointment acceptance — full feature 2026-08-17 18:39:14 +02:00
fail Director appointment acceptance — full feature 2026-08-17 18:39:14 +02:00
retry Director appointment acceptance — full feature 2026-08-17 18:39:14 +02:00
route.ts fix: handle unknown/empty task statuses without crashing 2026-08-17 19:00:42 +02:00