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

QTI 2.1: removing cut value from a test with feedbacks

    XMLWordPrintable

    Details

      Description

      How to reproduce:

      • Make a test with a cut value
      • Add feedbacks at test level
      • Save
      • Remove the cut value
      Gecko/20100101 Firefox/68.0 Exception: ExceptionWindowController: Throwable occurred, logging the full stacktrace: uk.ac.ed.ph.jqtiplus.exception.QtiInvalidLookupException: Invalid variable lookup: PASS
       at uk.ac.ed.ph.jqtiplus.running.TestProcessingController.dereferenceVariable(TestProcessingController.java:398)
       at uk.ac.ed.ph.jqtiplus.node.expression.general.LookupExpression.evaluateValidSelf(LookupExpression.java:181)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractFunctionalExpression.evaluateValidSelfAndChildren(AbstractFunctionalExpression.java:60)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractExpression.evaluate(AbstractExpression.java:380)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractExpression.evaluateChildren(AbstractExpression.java:418)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractFunctionalExpression.evaluateValidSelfAndChildren(AbstractFunctionalExpression.java:57)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractExpression.evaluate(AbstractExpression.java:380)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractExpression.evaluateChildren(AbstractExpression.java:418)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractFunctionalExpression.evaluateValidSelfAndChildren(AbstractFunctionalExpression.java:57)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractExpression.evaluate(AbstractExpression.java:380)
       at uk.ac.ed.ph.jqtiplus.node.expression.AbstractExpression.evaluate(AbstractExpression.java:363)
       at uk.ac.ed.ph.jqtiplus.node.test.outcome.processing.OutcomeConditionExpressionChild.evaluate(OutcomeConditionExpressionChild.java:98)
       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:1691)
       at uk.ac.ed.ph.jqtiplus.running.TestSessionController.handleResponsesToCurrentItem(TestSessionController.java:1580)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.handleResponse(AssessmentTestDisplayController.java:1336)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.processQTIEvent(AssessmentTestDisplayController.java:811)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController.event(AssessmentTestDisplayController.java:539)
       at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:258)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:255)
       at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:202)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController.fireResponse(AssessmentTestDisplayController.java:2217)
       at org.olat.ims.qti21.ui.AbstractQtiWorksController.processResponse(AbstractQtiWorksController.java:112)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController.formOK(AssessmentTestDisplayController.java:2140)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:389)
       at org.olat.ims.qti21.ui.AssessmentTestDisplayController$QtiWorksController.event(AssessmentTestDisplayController.java:2153)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       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:124)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:461)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:448)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:77)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:316)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1249)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:429)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:310)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:282)
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:194)
       at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
       at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:216)
      

        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: