Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-919

Send 400 for bad request instead of RS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.2.1
    • Component/s: Framework
    • Labels:
      None

      Description

      2013-12-10 07:09:19,620 [ajp-apr-8009-exec-12] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N9-E16 ^%^ org.olat.core.logging
      Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1 ^%^ **RedScreen** For input string: "dru"
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo></extendedinfo>
      		<event></event>
      	</componentinfo>
      	<controllerinfo></controllerinfo>
      </dispatchinfo>
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: For input string: "dru"
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:107)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:317)
         at org.olat.core.dispatcher.DispatcherAction.execute(DispatcherAction.java:154)
         at org.olat.core.servlets.OLATServlet.doPost(OLATServlet.java:155)
         at org.olat.core.servlets.OLATServlet.doGet(OLATServlet.java:128)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
         at org.olat.core.servlets.OLATServlet.service(OLATServlet.java:112)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      >>> stack of 2.cause::java.lang.NumberFormatException: For input string: "dru"
      -> at java.lang.NumberFormatException.forInputString(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at java.lang.Integer.valueOf(Unknown Source)
         at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:253)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:87)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192) at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1137)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:601) at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:226)
         at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
         at org.olat.dispatcher.DMZDispatcher.execute(DMZDispatcher.java:313)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Florian Gnägi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h