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

Uploading Annotation into dataset should also include overwritingOrganizationName #7681

Closed
fm3 opened this issue Mar 12, 2024 · 0 comments · Fixed by #7816
Closed

Uploading Annotation into dataset should also include overwritingOrganizationName #7681

fm3 opened this issue Mar 12, 2024 · 0 comments · Fixed by #7816

Comments

@fm3
Copy link
Member

fm3 commented Mar 12, 2024

Uploaded an NML file with no organization name in the NML file, into the dataset view mode

This sends an overwritingDatasetName with the request to steer the NML into the open dataset and not into the dataset that was specified in the NML.

This failed, since the organization id is looked up by only the dataset name (comment says Disambiguation method for legacy URLs and NMLs: if the user has access to multiple datasets of the same name, use the oldest. This is reasonable, because the legacy URL/NML was likely created before this ambiguity became possible).

This resulted in the wrong organization’s dataset of that name. Instead, the frontend should also send an overwritingOrganizationName when uploading into an existing dataset, and the backend should use that.

Corresponding libs issue to always write out an organization name: scalableminds/webknossos-libs#1015

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

Successfully merging a pull request may close this issue.

1 participant