nrkno / sofie-core

Sofie Core: A Part of the Sofie TV Studio Automation System
https://github.com/nrkno/Sofie-TV-automation/
MIT License
124 stars 40 forks source link

fix: clear Scratchpad on Rundown activation (SOFIE-2575) #1177

Closed jstarpl closed 2 months ago

jstarpl commented 2 months ago

About the Contributor

This pull request is posted on behalf of the NRK.

Type of Contribution

This is a:

Bug fix

Current Behavior

When activating a Rundown from rehearsal, the Scratchpad Segment is not removed.

New Behavior

When activating a Rundown from rehearsal, the Scratchpad Segment is removed and the current-playing PartInstance is reset.

Testing

See above.

Affected areas

Time Frame

Other Information

Status

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.00%. Comparing base (e8cec88) to head (ac458c3). Report is 7 commits behind head on release51.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release51 #1177 +/- ## ============================================ Coverage 57.99% 58.00% ============================================ Files 518 519 +1 Lines 83619 83783 +164 Branches 4336 3058 -1278 ============================================ + Hits 48499 48601 +102 - Misses 35068 35177 +109 + Partials 52 5 -47 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.