Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-740

Limit order input for new vocabulary entries

    Details

    • Type: Bug
    • Status: In Review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: HOTFIX_10.10_2.4, 3.0.x
    • Component/s: UI

      Description

      It is possible to add a vocabulary entry with order number greater than Integer.MAX_VALUE, resulting in a format exception when loading entries in a nuxeo-directory-suggestion.

      Steps to reproduce:

      1. In Web UI, navigate to Administration > Vocabularies. Select a Vocabulary (e.g. Nature) and add a new entry with Order greater than or equal to 2147483647.
      2. Create a new Document, and attempt to populate the corresponding directory field with a value by clicking the nuxeo-directory-suggestion dropdown.

      Expected result: vocabulary entries should appear under the dropdown

      Actual result: dropdown remains displaying "Loading..." while java.lang.NumberFormatException is logged in console.

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.