You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A failed or skipped surgery registration still moves and registers the recording #56
Problem
When "Add surgery & insertion device if missing ?" is checked and the surgery insert fails:
registerSurgery shows "Surgery data could not be registered" and closes the dialog, but does not call notifySlackJobFailure.
addSurgeryData returns after uiwait whether or not the surgery was saved. createRecording (line ~114) never checks, so it goes on to move the files to cup (ROBOCOPY /MOV) and register the recording without a surgery.
The same happens when the user closes the surgery dialog without registering.
Decision
A missing surgery does not block the recording: users often don't have the surgery details (as in #50). The operator is asked instead (#58). Either way:
Report a failed surgery insert to Slack.
Make the outcome explicit. Either stop before copyRecording when the surgery is still missing, or tell the user the recording is being registered without one.
Activity
fix: ask before registering a recording whose surgery was not registered
fix: ask before registering a recording whose surgery was not registered