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

Improve error message when non-integer value is entered in Integer widget

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.10, 9.1-SNAPSHOT
    • Fix Version/s: 8.10-HF05, 9.2
    • Component/s: Layouts & Widgets

      Description

      1. create custom document
      2. add integer to document schema
      3. add integer widget to document
      4. synchronize the project with the server
      5. enter a non-integer value or even 123.45
      6. the error displayed is not so clear :
        intWidgetLayout_edit_form:nxl_intWidgetLayout:nxw_intWidget: An error occurred when processing your submitted information
        

      This could be improved to a more specific error message like 'abc' is not a number. Example: 99

        Attachments

          Issue Links

            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 - 1 day, 5 hours
                  1d 5h