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

RS Error when opening the course editor twice

    XMLWordPrintable

    Details

      Description

      How to reproduce

      • Login as author
      • Open course, open editor
      • Select repository site
      • search for course, go to course details page
      • Select "edit" from toolboxes
        => Error with message "There is already an edit session open for this course"
      • Click back and select the course manually from the tabs
      • Select a course node in the editor
        => Error with message "No edit session open for this course"

      Should activate already active course and editor instance instead.

      See also OO-63 which has the same stacktrace, seems not to be fixed.

      Stacktrace:

      <dispatchinfo>
      	<componentinfo>
      		<compname>e</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>edt</command>
      			<tostring>com:edt,org.olat.core.gui.control.Event@187d4</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.control.generic.tool.ToolControllerImpl</controllername>
      		<controllername>org.olat.repository.controllers.RepositoryDetailsController</controllername>
      		<controllername>org.olat.repository.controllers.RepositoryMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Throwable: org.olat.core.logging.AssertException
      
      logmsg:There is already an edit session open for this course: 88011120955476
      message:There is already an edit session open for this course: 88011120955476,org.olat.core.logging.AssertException
      
      at org.olat.course.CourseFactory.openCourseEditSession(CourseFactory.java:1126)
      at org.olat.course.editor.EditorMainController.(EditorMainController.java:242)
      at org.olat.course.CourseFactory.createEditorController(CourseFactory.java:213)
      at org.olat.course.run.RunMainController.doEdit(RunMainController.java:812)
      at org.olat.course.run.RunMainController.activate(RunMainController.java:1259)
      at org.olat.resource.accesscontrol.ui.RepositoryMainAccessControllerWrapper.activate(RepositoryMainAccessControllerWrapper.java:115)
      at org.olat.core.commons.fullWebApp.BaseFullWebappController.activate(BaseFullWebappController.java:947)
      at org.olat.core.commons.fullWebApp.BaseFullWebappController$2.activate(BaseFullWebappController.java:253)
      at org.olat.repository.controllers.RepositoryDetailsController.doEdit(RepositoryDetailsController.java:914)
      at org.olat.repository.controllers.RepositoryDetailsController.doEdit(RepositoryDetailsController.java:882)
      
      1. cause:
      
      message:assertionstackgenerator,java.lang.Exception
      
      at org.olat.core.logging.AssertException.(AssertException.java:53)
      at org.olat.course.CourseFactory.openCourseEditSession(CourseFactory.java:1126)
      at org.olat.course.editor.EditorMainController.(EditorMainController.java:242)
      at org.olat.course.CourseFactory.createEditorController(CourseFactory.java:213)
      at org.olat.course.run.RunMainController.doEdit(RunMainController.java:812)
      at org.olat.course.run.RunMainController.activate(RunMainController.java:1259)
      at org.olat.resource.accesscontrol.ui.RepositoryMainAccessControllerWrapper.activate(RepositoryMainAccessControllerWrapper.java:115)
      at org.olat.core.commons.fullWebApp.BaseFullWebappController.activate(BaseFullWebappController.java:947)
      at org.olat.core.commons.fullWebApp.BaseFullWebappController$2.activate(BaseFullWebappController.java:253)
      at org.olat.repository.controllers.RepositoryDetailsController.doEdit(RepositoryDetailsController.java:914)
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>luTree</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:88011120956348}</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.editor.EditorMainController</controllername>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      		<controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Throwable: org.olat.core.logging.AssertException
      
      logmsg:No edit session open for this course: 88011120955476 - Open a session first!
      message:No edit session open for this course: 88011120955476 - Open a session first!,org.olat.core.logging.AssertException
      
      at org.olat.course.CourseFactory.getCourseEditSession(CourseFactory.java:1149)
      at org.olat.course.editor.EditorMainController.event(EditorMainController.java:378)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:195)
      at org.olat.core.gui.components.Component$1.run(Component.java:238)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.components.Component.fireEvent(Component.java:236)
      at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:251)
      at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:167)
      at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
      at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1137)
      
      1. cause:
      
      message:assertionstackgenerator,java.lang.Exception
      
      at org.olat.core.logging.AssertException.(AssertException.java:53)
      at org.olat.course.CourseFactory.getCourseEditSession(CourseFactory.java:1149)
      at org.olat.course.editor.EditorMainController.event(EditorMainController.java:378)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:195)
      at org.olat.core.gui.components.Component$1.run(Component.java:238)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.components.Component.fireEvent(Component.java:236)
      at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:251)
      at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:167)
      at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
      

        Attachments

          Activity

            People

            • Assignee:
              gnaegi Florian Gnägi
              Reporter:
              gnaegi Florian Gnägi
              Tester:
              Christian Franck
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour Time Not Required
                1h