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

RS if pop below the surface

    XMLWordPrintable

    Details

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

      Description

      I think an AssertException is not needed here, it's not the fault of the user which click 2x too quickly. The code can see if it's at the surface and don't dive below.

      2015-03-31 08:39:40,954 [ajp-apr-8011-exec-6] ERROR AssertException - OLAT::ERROR ^%^ N11-E28 
      
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36
      
      **RedScreen** cannot pop below surface...
      <dispatchinfo>
      	<componentinfo>
      		<compname>backLink</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>back</command>
      			<tostring>com:back,org.olat.core.gui.control.Event@2e0506</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController</controllername>
      		<controllername>org.olat.modules.scorm.ScormAPIandDisplayController</controllername>
      		<controllername>org.olat.course.nodes.scorm.ScormRunController</controllername>
      		<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: cannot pop below surface...
      -> at org.olat.core.gui.control.LocalWindowControl.pop(LocalWindowControl.java:54)
         at org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController.deactivate(LayoutMain3ColsBackController.java:135)
         at org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController.event(LayoutMain3ColsBackController.java:100)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:201)
         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.link.Link.dispatch(Link.java:199)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:186)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1124)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.core.gui.control.LocalWindowControl.pop(LocalWindowControl.java:54)
         at org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController.deactivate(LayoutMain3ColsBackController.java:135)
         at org.olat.core.commons.fullWebApp.LayoutMain3ColsBackController.event(LayoutMain3ColsBackController.java:100)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:201)
         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.link.Link.dispatch(Link.java:199)
         at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:186)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
      

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