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

Question pool: usage metadata is not validated

    XMLWordPrintable

    Details

      Description

      2018-12-13 15:05:43,874 [ajp-nio2-8082-exec-5] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N82-E1 ^%^ org.olat.core.logging
      
      https://xyz.ch/auth/QPool/0/My/0/QuestionItem/9764864
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134
       
      **RedScreen** For input string: "F19"
       
      <dispatchinfo>
       	<componentinfo>
       		<compname>ffo_main_vertical</compname>
       		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
       		<extendedinfo>n/a</extendedinfo>
       		<event>
       			<class&gt;org.olat.core.gui.control.Event</class&gt;
       			<command>validation ok</command>
       			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
       		</event>
       	</componentinfo>
       	<controllerinfo>
       		<controllername>org.olat.modules.qpool.ui.metadata.QuestionMetadataEditController</controllername>
       		<controllername>org.olat.modules.qpool.ui.QuestionItemDetailsController</controllername>
       		<controllername>org.olat.modules.qpool.ui.QuestionListController</controllername>
       		<controllername>org.olat.modules.qpool.ui.QuestionPoolMainEditorController</controllername>
       		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
       	</controllerinfo>
       </dispatchinfo>
       
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: For input string: "F19"
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         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.core.gui.components.Window.dispatchRequest(Window.java:589)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:294)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.NumberFormatException: For input string: "F19"
      -> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
         at java.lang.Integer.parseInt(Integer.java:580)
         at java.lang.Integer.parseInt(Integer.java:615)
         at org.olat.modules.qpool.ui.metadata.MetaUIFactory.toInt(MetaUIFactory.java:200)
         at org.olat.modules.qpool.ui.metadata.QuestionMetadataEditController.formOK(QuestionMetadataEditController.java:233)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:380)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:122)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Mandy Menzel
            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 - 10 minutes
                10m