-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 9.10, 10.10-SNAPSHOT
-
Component/s: Web UI
-
Release Notes Summary:New entries can be added to empty vocabulary.
-
Backlog priority:300
-
Sprint:nxGang Sprint 10.10.5
-
Story Points:2
- install nuxeo
- install webui addon
- go to Administration / Vocabularies
- select languages vocabulary
- delete all the entries
- add a new entry
- observe it fails, the entry is not created and an error is in the Javascript console (see stacktrace.png)
Expected result: the entry should be added and no error should be raised.
This seems to be related to the _createfunction expecting a non-empty vocabulary:
https://github.com/nuxeo/nuxeo-web-ui/blob/9.10/elements/directory/nuxeo-vocabulary-management.html#L361