Frontend: Schedule rows crash on null recorder_id (orphaned schedule) #117
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixed in
04ce096. Schedule status pills and list rows now guards.recorder_idbefore calling.slice(0, 8)and fall back to"unassigned".zgaetano referenced this issue2026-05-26 18:22:49 -04:00
Fix Plan — #117 Schedule rows crash on null recorder_id
Root cause:
screens-ingest.jsx:1026,1040,1569calls.recorder_id.slice(0,8)with no null guard. Deleted recorder + orphaned schedule → null.slice → TypeError → white screen.Fix (frontend):
Fix (DB): Add
ON DELETE CASCADEtorecorder_schedules.recorder_id.Files:
screens-ingest.jsx:1026,1040,1569, migration for FK cascadeEffort: ~30min
**Priority: P1 — crash fix