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

RS if SCORM resource is deleted but used in course editor

    XMLWordPrintable

    Details

      Description

      How to reproduce:

      • Upload SCORM
      • In a course add a course element of type SCORM
      • Link the SCORM BUT not published the course
      • Delete the SCORM resource
      • Try to preview the course element in course
        -> Red screen
      2016-02-29 11:42:58,077 [ajp-nio2-8017-exec-9] ERROR AssertException - OLAT::ERROR ^%^ N17-E6 ^%^ org.olat.core.logging 
      Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko ^%^ **RedScreen** Repository softkey lookup returned zero or more than one result: 0, softKey = xyz_17_93206833323286 
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>luTreeRun</compname>
      		<compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.tree.TreeEvent</class&gt;
      			<command>ctncl</command>
      			<tostring>TreeEvent:{cmd:ctncl, nodeid:93206833323311}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.run.preview.PreviewRunController</controllername>
      		<controllername>org.olat.course.run.preview.PreviewConfigController</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.AssertException: Repository softkey lookup returned zero or more than one result: 0, softKey = xyz_17_93206833323286
      -> at org.olat.repository.RepositoryManager.lookupRepositoryEntryBySoftkey(RepositoryManager.java:378)
         at org.olat.course.nodes.scorm.ScormEditController.getScormCPReference(ScormEditController.java:360)
         at org.olat.course.nodes.scorm.ScormRunController.doLaunch(ScormRunController.java:257)
         at org.olat.course.nodes.scorm.ScormRunController.init(ScormRunController.java:155)
         at org.olat.course.nodes.scorm.ScormRunController.<init>(ScormRunController.java:122)
         at org.olat.course.nodes.ScormCourseNode.createPreviewController(ScormCourseNode.java:138)
         at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:435)
         at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:272)
         at org.olat.course.run.preview.PreviewRunController.event(PreviewRunController.java:167)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.repository.RepositoryManager.lookupRepositoryEntryBySoftkey(RepositoryManager.java:378)
         at org.olat.course.nodes.scorm.ScormEditController.getScormCPReference(ScormEditController.java:360)
         at org.olat.course.nodes.scorm.ScormRunController.doLaunch(ScormRunController.java:257)
         at org.olat.course.nodes.scorm.ScormRunController.init(ScormRunController.java:155)
         at org.olat.course.nodes.scorm.ScormRunController.<init>(ScormRunController.java:122)
         at org.olat.course.nodes.ScormCourseNode.createPreviewController(ScormCourseNode.java:138)
         at org.olat.course.run.navigation.NavigationHandler.doEvaluateJumpTo(NavigationHandler.java:435)
         at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:272)
         at org.olat.course.run.preview.PreviewRunController.event(PreviewRunController.java:167)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Kirsten Scherer
            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