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

Invisible red screen: delete course element with QTI 2.1 test breaks during archive

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 11.4.1
    • Fix Version/s: 11.4.2
    • Component/s: None
    • Labels:
      None

      Description

      How to reproduce:

      • In a course, add a test course element with a QTI 2.1 test
      • Publish the course
      • Edit the course and delete the course element
      • Publish the course
        -> The red screen is not visible, you will see that the test course element is still in the course runtime but not in the editor view. And the archive of the results are not produced.
       Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 ^%^ **RedScreen**
       
       <dispatchinfo>
       	<componentinfo>
       		<compname>ffo_main_stepslayout</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 finish</command>
       			<tostring>com:validation finish,org.olat.core.gui.control.Event@2f96e239</tostring>
       		</event>
       	</componentinfo>
       	<controllerinfo>
       		<controllername>org.olat.course.editor.PublishStep01$PublishStep01AccessForm</controllername>
       		<controllername>org.olat.core.gui.control.generic.wizard.StepsMainRunController</controllername>
       		<controllername>org.olat.course.editor.EditorMainController</controllername>
       		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
       		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
       	</controllerinfo>
       </dispatchinfo>
       
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> 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:549)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:242)
         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:292)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:235)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.ims.qti21.manager.archive.QTI21ArchiveFormat.<init>(QTI21ArchiveFormat.java:150)
         at org.olat.course.nodes.IQTESTCourseNode.archiveNodeData(IQTESTCourseNode.java:676)
         at org.olat.course.editor.PublishProcess.archiveDeletedNode(PublishProcess.java:533)
         at org.olat.course.editor.PublishProcess.applyPublishSet(PublishProcess.java:447)
         at org.olat.course.editor.EditorMainController$3.execute(EditorMainController.java:1089)
         at org.olat.core.gui.control.generic.wizard.StepsMainRunController.finishWizard(StepsMainRunController.java:381)
         at org.olat.core.gui.control.generic.wizard.StepsMainRunController.event(StepsMainRunController.java:364)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            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 - 40 minutes
                40m