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

RS displaying a test in course if the learn resource cannot be found

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.5.9, 11.0.8
    • Component/s: Course
    • Labels:
      None

      Description

      The issue seems to be limited to the preview of the course but I cannot reproduce it.

      2016-10-21 12:18:34,602 [ajp-nio2-8021-exec-8] ERROR AssertException - OLAT::ERROR ^%^ N1-E16 ^%^ org.olat.core.logging 
      
      https://lms.xyz.de/auth/RepositoryEntry/1249411076/Editor/0 ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
      
      **RedScreen** Repository softkey lookup returned zero or more than one result: 0, softKey = caulive_1_94451467729843
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>command.preview</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>command.preview</command>
      			<tostring>com:command.preview,org.olat.core.gui.control.Event@67e25844</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.nodes.iq.IQEditController</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 = caulive_1_94451467729843
      -> at org.olat.repository.RepositoryManager.lookupRepositoryEntryBySoftkey(RepositoryManager.java:400)
         at org.olat.modules.iq.IQManager.createIQDisplayController(IQManager.java:126)
         at org.olat.course.nodes.iq.IQEditController.event(IQEditController.java:470)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         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.link.Link.dispatch(Link.java:198) at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:185) at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193) at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1143)
      >>> 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:400)
         at org.olat.modules.iq.IQManager.createIQDisplayController(IQManager.java:126)
         at org.olat.course.nodes.iq.IQEditController.event(IQEditController.java:470)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         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.link.Link.dispatch(Link.java:198)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:185)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Florian Gnägi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m