Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Cannot read properties of undefined (reading 'width') in Video GT job #9095

Merged
merged 4 commits into from
Feb 13, 2025

Conversation

klakhov
Copy link
Contributor

@klakhov klakhov commented Feb 12, 2025

Motivation and context

It seems that a regression was introduced during recent refactoring related to frame metadata. In a GT job created from a video, navigating through frames results in an error: *Cannot read properties of undefined (reading 'width').
gt_error

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • 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)

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.

@klakhov klakhov added the ui/ux label Feb 12, 2025
@klakhov klakhov requested a review from bsekachev as a code owner February 12, 2025 09:29
cvat-core/src/server-response-types.ts Outdated Show resolved Hide resolved
cvat-core/src/frames.ts Outdated Show resolved Hide resolved
@klakhov klakhov force-pushed the kl/frame-regression branch from 5b555c4 to d5be48e Compare February 12, 2025 11:04
@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.94%. Comparing base (df5678a) to head (6482bc5).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9095      +/-   ##
===========================================
+ Coverage    73.91%   73.94%   +0.02%     
===========================================
  Files          428      428              
  Lines        44530    44532       +2     
  Branches      3881     3881              
===========================================
+ Hits         32916    32930      +14     
+ Misses       11614    11602      -12     
Components Coverage Δ
cvat-ui 77.50% <100.00%> (+0.06%) ⬆️
cvat-server 71.00% <ø> (ø)

@klakhov klakhov requested a review from nmanovic as a code owner February 12, 2025 12:52
@klakhov klakhov merged commit a8ce52b into develop Feb 13, 2025
34 checks passed
@klakhov klakhov deleted the kl/frame-regression branch February 13, 2025 12:05
@cvat-bot cvat-bot bot mentioned this pull request Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants