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

Limit order input for new vocabulary entries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 3.0.15, 2.4.65
    • Component/s: UI
    • Release Notes Summary:
      The "order" input is limited to a max value for new vocabulary entries.
    • Backlog priority:
      400
    • Team:
      UI
    • Sprint:
      UI - 2022-8, UI COOLDOWN - 2022-07

      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:
                Resolved:

                Time Tracking

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