You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This issue is unique
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
mica2/mica-search/src/main/java/org/obiba/mica/taxonomy/TaxonomyIndexer.java
Line 78 in bf9efc7
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
The text was updated successfully, but these errors were encountered: