A job cannot be opened if to remove an image with the latest keyframe of a track
Motivation and context
Depends on https://github.com/cvat-ai/cvat/pull/8951
From the design perspective, we do not use deleted images to calculate positions (the idea is to treat the job as if these images do not exist). However, this can lead to situations where track keyframes are missing, making it impossible to open the job. With this patch, such errors will be properly handled, and these objects will not be displayed at all.
How has this been tested?
Checklist
-
I submit my changes into the developbranch -
I have created a changelog fragment -
I have updated the documentation accordingly -
I have added tests to cover my changes -
I have linked related issues (see GitHub docs) -
I have increased versions of npm packages if it is necessary (cvat-canvas, cvat-core, cvat-data and cvat-ui)
License
-
I submit my code changes under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.