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

QTI 2.1: rs after changing cut value as an author

    XMLWordPrintable

    Details

      Description

      How to reproduce:

      • A new test, set a cut value, change the question, save
      • Play the test as author but not end it or close it
      • Edit the test and remove the cut value and ONLY the cut value
      • Back to play the test in stand-bye
        -> A red screen can happen (not always)

      The session for the test need to be cleared if the cut value changed like if a question is changed.

      https://olat.xyz.ch/auth/RepositoryEntry/400850983
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:64.0) Gecko/20100101 Firefox/64.0
      **RedScreen** Invalid variable lookup: PASS
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_at_run</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.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController</controllername>
      		<controllername>org.olat.ims.qti21.ui.AssessmentTestDisplayController</controllername>
      		<controllername>org.olat.ims.qti21.ui.QTI21RuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: Invalid variable lookup: PASS
      -> 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::uk.ac.ed.ph.jqtiplus.exception.QtiInvalidLookupException: Invalid variable lookup: PASS
      -> at uk.ac.ed.ph.jqtiplus.running.TestProcessingController.ensureVariableDeclaration(TestProcessingController.java:214)
         at uk.ac.ed.ph.jqtiplus.node.test.outcome.processing.SetOutcomeValue.evaluate(SetOutcomeValue.java:113)
         at uk.ac.ed.ph.jqtiplus.node.test.outcome.processing.OutcomeConditionChild.evaluate(OutcomeConditionChild.java:80)
         at uk.ac.ed.ph.jqtiplus.node.test.outcome.processing.OutcomeCondition.evaluate(OutcomeCondition.java:115)
         at uk.ac.ed.ph.jqtiplus.node.test.outcome.processing.OutcomeProcessing.evaluate(OutcomeProcessing.java:87)
         at uk.ac.ed.ph.jqtiplus.running.TestSessionController.performOutcomeProcessing(TestSessionController.java:1674)
         at uk.ac.ed.ph.jqtiplus.running.TestSessionController.handleResponsesToCurrentItem(TestSessionController.java:1563)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.handleResponse(AssessmentTestDisplayController.java:1223)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.processQTIEvent(AssessmentTestDisplayController.java:717)
         at org.olat.ims.qti21.ui.AssessmentTestDisplayController.event(AssessmentTestDisplayController.java:496)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:250)
      

        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 - 1 hour, 10 minutes
                1h 10m