Uploaded image for project: 'JCR Tools'
  1. JCR Tools
  2. JCRTOOLS-15

Entering a large number for level results in error in UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0
    • None
    • None
    • Basel 27
    • 5

      We should be providing proper validation to prevent error in UI and log:

      Caused by: java . lang.NumberFormatException: For input string: "1000000000000"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:495)
      at java.lang.Integer.parseInt(Integer.java:527)
      at info.magnolia.jcrtools.dumper.DumperSubApp.onActionTriggered(DumperSubApp.java:84)
      at info.magnolia.jcrtools.JcrToolsViewImpl$1.buttonClick(JcrToolsViewImpl.java:91)
      at sun.reflect.GeneratedMethodAccessor212.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
      ... 91 more
      

        Acceptance criteria

              bandersen Bradley Andersen
              pmundt Philip Mundt
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 5.5h
                    5.5h