-
Notifications
You must be signed in to change notification settings - Fork 3k
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
cvat-ui error when open a job with issues #7600
Comments
Same happened to me. Steps to reproduce the issue
Operating system and browser versionUbuntu 22.04.4 CVAT versionServer: 2.11.2 Error Message
|
Hello, Thanks for the report. Please, provide a screen cast how the issue may be reproduced. |
@bsekachev @nmanovic I was able to reproduce the issue. The issue is due to improper handling of the canvas ready state in the HiddenIssueLabel. Once we open Canvas, the ready state is set to true. now if we go to any other page it will remain true only. so whenever we open a job, the canvas ready is true so it will try to attach the issue label to the canvas attachment board but it is not properly loaded. so mounting the issue label results in failure. |
@bsekachev can you please look into it? |
Fixed an issue of error in cvat-ui when a job with issue is opened Fixes cvat-ai#7600 canvas ready state is not updated when unmounting canvas make changes to set canvas ready state to false when canvas is unmounted
Actions before raising this issue
Steps to Reproduce
Expected Behavior
No response
Possible Solution
The error may be caused by HiddenIssueLabel.
Context
error:
react-dom.production.min.js:209 Error: Minified React error #200; visit https://reactjs.org/docs/error-decoder.html?invariant=200 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Object.Zl [as createPortal] (react-dom.production.min.js:287:319)
at $Te (hidden-issue-label.tsx:65:12)
at qi (react-dom.production.min.js:153:146)
at ys (react-dom.production.min.js:261:496)
at fl (react-dom.production.min.js:246:265)
at dl (react-dom.production.min.js:246:194)
at rl (react-dom.production.min.js:239:172)
at react-dom.production.min.js:123:115
at t.unstable_runWithPriority (scheduler.production.min.js:19:467)
at Va (react-dom.production.min.js:122:325)
Environment
No response
The text was updated successfully, but these errors were encountered: