Skip to content

Continuous Creation: TrackId not found in any camera #1272

@BryonLewis

Description

@BryonLewis

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:

  1. Set the track mode to continuous
  2. Create a track and have the console open
  3. 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:

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

No one assigned

    Labels

    Type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions