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

Cannot update/replace internal taxonomy #4422

Open
1 task done
johannes-darms opened this issue Oct 12, 2023 · 0 comments
Open
1 task done

Cannot update/replace internal taxonomy #4422

johannes-darms opened this issue Oct 12, 2023 · 0 comments
Assignees
Labels

Comments

@johannes-darms
Copy link
Contributor

This issue is unique

  • I have used the search tool and did not find an issue describing my bug.

Version information

SNAPSHOT and 5.2.3

Expected behavior

As an instance administrator
In order to change labels, descriptions and hide properties of an internal taxonomy
I want to update taxonomies via the web UI. The versions that I've uploaded should have precedence over the internal ones.

Actual behavior

Once I upload a file with the same name (filename and name within the yml) the taxonomy is indexed and exposed via the /ws/taxonomies/_filter API. This works as expected. However, the response contains two entries with the same name, the internal one and the just supplied one. Hence, the internal entry is not overridden and the UI uses the internal one.

I believe the source of this behavior is

.add(taxonomiesService.getVariableTaxonomy())
.

Reproduction steps

Take a taxonomy from mica-core/taxnomies(e.g. mica-variable).
Alter the file (remove an attribute)
Upload the taxonomy via the admin UI.

Operating System (OS)

Linux

Browser

No response

Contact info

No response

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

No branches or pull requests

4 participants