Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-2350

Fix widget editor when using % character on integer widget properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 21.1
    • Fix Version/s: 22
    • Component/s: Layouts & Widgets
    • Tags:
    • Sprint:
      nxNag Sprint 7.1-3
    • Story Points:
      1

      Description

      Steps to reproduce:

      • in a form layout, drop a text field
      • in popup, add a custom property with name "maxlength" and value "100%"
      • save
      • try to open the edit popup again
        => error with the following stack trace:
      Uncaught exception: java.lang.NumberFormatException: For input string: "100%"
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
          at Unknown.anonymous(Unknown Source)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: