-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Labels
Type: bugSomething isn't workingSomething isn't working
Description
Describe the bug
Noticed in Sentry a ton of bugs related to "TrackId X not found in any camera"
Looked at the sentry UI logs to try to replicate the problem. Looks like an issue with continuous mode causing the issue.
To Reproduce
Steps to reproduce the behavior:
- Set the track mode to continuous
- Create a track and have the console open
- Notice that it will say it can't find a trackId with the new ID in any camera
Expected behavior
Continuous Mode should allow for continually creating tracks.
Additional context
I think the problem is here:
dive/client/dive-common/use/useModeManager.ts
Line 322 in 011b97b
| const track = cameraStore.getAnyTrack(overrideTrackId); |
When creating a new track we have an override trackId to use, but it doesn't exist at all so it isn't the camera store. This needs to be swapped to
getAnyPossibileTrack function call and use that instead. We only maintain the type if there is track that already exists with that trackId across any camera.Metadata
Metadata
Assignees
Labels
Type: bugSomething isn't workingSomething isn't working