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

RS in QTI 1.2 if the value is a float and the user enter a number with a comma

    XMLWordPrintable

    Details

      Description

      RS in QTI 1.2 if the value is a float and the user enter a number with a comma

      2013-08-08 15:38:03,424 [ajp-apr-10109-exec-5] ERROR OLATRuntimeException - OLAT::ERROR % N1-E1 % org.olat.core.logging
      % Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) %
      *RedScreen* For input string: "11,95" ::_::
      <dispatchinfo>
      <componentinfo>
      <compname>qticomponent</compname>
      <compclass>org.olat.modules.iq.IQComponent</compclass>
      <extendedinfo>n/a</extendedinfo>
      <event>
      <class>org.olat.core.gui.control.Event</class>
      <command>sitse</command>
      <tostring>com:sitse,org.olat.core.gui.control.Event@6860bcf</tostring>
      </event>
      </componentinfo>
      <controllerinfo>
      <controllername>org.olat.modules.iq.IQDisplayController</controllername>
      <controllername>org.olat.course.nodes.iq.IQRunController</controllername>
      <controllername>org.olat.course.run.RunMainController</controllername>
      <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      </controllerinfo>
      </dispatchinfo>
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: For input string: "11,95"
      -> 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.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:240)
      at org.olat.core.dispatcher.DispatcherAction.execute(DispatcherAction.java:154)
      at org.olat.core.servlets.OLATServlet.doPost(OLATServlet.java:155)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      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)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      >>> stack of 2.cause::java.lang.NumberFormatException: For input string: "11,95"
      -> at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
      at java.lang.Float.valueOf(Float.java:417)
      at java.lang.Float.<init>(Float.java:519)
      at org.olat.ims.qti.process.elements.QTI_vargte.eval(QTI_vargte.java:55)
      at org.olat.ims.qti.process.elements.QTI_and.eval(QTI_and.java:44)
      at org.olat.ims.qti.process.elements.QTI_and.eval(QTI_and.java:44)
      at org.olat.ims.qti.process.elements.QTI_respcondition.process(QTI_respcondition.java:79)
      at org.olat.ims.qti.process.elements.QTI_resprocessing.evalAnswer(QTI_resprocessing.java:86)
      at org.olat.ims.qti.process.elements.QTI_item.evalAnswer(QTI_item.java:48)
      at org.olat.ims.qti.container.ItemContext.eval(ItemContext.java:391)
      at org.olat.ims.qti.navigator.DefaultNavigator.submitOneItem(DefaultNavigator.java:112)

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
            • Votes:
              0 Vote for this issue
              Watchers:
              0 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 hour
                1h