mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-07 07:19:16 +00:00
149cc0da92
The server refused to delete an automation while any global trigger pointed at it, so removing one meant finding its triggers in a second list and deleting each by hand first. The refusal was protecting against dead data, but a trigger pointing at a deleted automation is the dead data. Both are now written in a single patch, so there is no window where one outlives the other and nothing to roll back. An automation attached to an event is still refused: that reference lives in the rundown, and removing it is an edit to the show rather than to the automation settings. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AfDKsy6PE3Rbyt32Fg4YKf