Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-26610

Cannot add entries to empty vocabulary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10, 10.10-SNAPSHOT
    • Fix Version/s: 9.10-HF26, 10.10
    • Component/s: Web UI

      Description

      1. install nuxeo
      2. install webui addon
      3. go to Administration / Vocabularies
      4. select languages vocabulary
      5. delete all the entries
      6. add a new entry
      7. 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

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 10 minutes
                5h 10m