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

RS if the navigation don't find the clicked node

    XMLWordPrintable

    Details

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

      Description

      If the node clicked by the user is not found, the navigation handler throw a AssertException which is hard for the user. I think it's better to jump to the root node instead.

      2014-11-17 13:31:37,212 [ajp-apr-8011-exec-3] ERROR AssertException - OLAT::ERROR ^%^ N11-E55 ^%^ org.olat.core.logging
      Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)
      
      **RedScreen** no treenode found:90535946579292 
      
      <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:90535946579292}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.run.RunMainController</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: no treenode found:90535946579292
      -> at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:146)
         at org.olat.course.run.RunMainController.doNodeClick(RunMainController.java:598)
         at org.olat.course.run.RunMainController.event(RunMainController.java:459)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:197)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:236)
         at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:250)
         at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:167)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1121)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.course.run.navigation.NavigationHandler.evaluateJumpToTreeNode(NavigationHandler.java:146)
         at org.olat.course.run.RunMainController.doNodeClick(RunMainController.java:598)
         at org.olat.course.run.RunMainController.event(RunMainController.java:459)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:197)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:236)
         at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:250)
         at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:167)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
      

        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 - 30 minutes
                30m