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

[IX] Labeling data creates two requests #7138

Open
RafaPolit opened this issue Aug 21, 2024 · 1 comment
Open

[IX] Labeling data creates two requests #7138

RafaPolit opened this issue Aug 21, 2024 · 1 comment

Comments

@RafaPolit
Copy link
Member

Labeling data creates two requests

Labelling data sends two API requests, one to /entities and one to /files. If one of them fails, the other still made changes, and this could lead to inconsistent or corrupted data. The labelling must be a UseCase of the feature that handles all errors within and, ideally, transactions both files and entities back upon error.

@txau
Copy link
Collaborator

txau commented Aug 21, 2024

This looks like something that needs fixing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants