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 exception when run export for an empty task #5396

Merged
merged 3 commits into from
Dec 1, 2022

Conversation

nmanovic
Copy link
Contributor

@nmanovic nmanovic commented Nov 30, 2022

Fix #5245

The PR contains a simple fix. Just return BAD REQUEST if somebody tries to export a task without data. It doesn't make sense. But a more complex fix will require changing a massive amount of code. It doesn't make any sense to support such a weird scenario.

The PR contains simple fix. Just return BAD REQUEST if somebody
tries to export a task without data. It doesn't make sense. But
more complex fix will require to change to huge amount of code.
In any case it doesn't make any sense to support such weird scenario.
@nmanovic nmanovic marked this pull request as draft November 30, 2022 20:30
@nmanovic nmanovic marked this pull request as ready for review November 30, 2022 21:18
@nmanovic nmanovic merged commit 3e1ccc8 into develop Dec 1, 2022
@nmanovic nmanovic deleted the nm/bug_5245_export_empty_task branch December 1, 2022 20:49
@Marishka17 Marishka17 mentioned this pull request Dec 2, 2022
nmanovic added a commit that referenced this pull request Dec 2, 2022
Fixed REST API tests after merging #5408 and #5396 to develop

Co-authored-by: Boris Sekachev <sekachev.bs@gmail.com>
Co-authored-by: Nikita Manovich <nikita@cvat.ai>
@nmanovic nmanovic mentioned this pull request Dec 12, 2022
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Jul 1, 2023
Fixed REST API tests after merging cvat-ai#5408 and cvat-ai#5396 to develop

Co-authored-by: Boris Sekachev <sekachev.bs@gmail.com>
Co-authored-by: Nikita Manovich <nikita@cvat.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exporting task without data can fail on logging attempt
2 participants