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

RS if the HTML page selected in single page course element is a directory

    XMLWordPrintable

    Details

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

      Description

      @Tester: I cannot reproduce the issue and I don't know how someone can select a directory.

      RedScreen on learn 10.4.9
      2016-04-10 19:02:38,476 [ajp-nio2-8001-exec-15] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E2
      https://learn.olat.com/auth/RepositoryEntry/255524864/CourseNode/93417101157348
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17 ^%^ **RedScreen** org.olat.core.commons.modules.bc.vfs.OlatRootFolderImpl cannot be cast to org.olat.core.util.vfs.VFSLeaf
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>edit.cmd</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>edit.cmd</command>
      			<tostring>com:edit.cmd,org.olat.core.gui.control.Event@5f6bc375</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<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.OLATRuntimeException: org.olat.core.commons.modules.bc.vfs.OlatRootFolderImpl cannot be cast to org.olat.core.util.vfs.VFSLeaf
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:536)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:234)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:298)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:216)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.ClassCastException: org.olat.core.commons.modules.bc.vfs.OlatRootFolderImpl cannot be cast to org.olat.core.util.vfs.VFSLeaf
      -> at org.olat.core.commons.controllers.filechooser.LinkFileCombiCalloutController.setRelFilePath(LinkFileCombiCalloutController.java:417)
         at org.olat.core.commons.controllers.filechooser.LinkFileCombiCalloutController.<init>(LinkFileCombiCalloutController.java:136)
         at org.olat.course.nodes.sp.SPEditController.<init>(SPEditController.java:128)
         at org.olat.course.nodes.SPCourseNode.createEditController(SPCourseNode.java:84)
         at org.olat.course.editor.EditorMainController.initNodeEditor(EditorMainController.java:529)
         at org.olat.course.editor.EditorMainController.updateViewForSelectedNodeId(EditorMainController.java:508)
         at org.olat.course.editor.EditorMainController.<init>(EditorMainController.java:331)
         at org.olat.course.CourseFactory.createEditorController(CourseFactory.java:187)
         at org.olat.course.run.CourseRuntimeController.doEdit(CourseRuntimeController.java:988)
         at org.olat.repository.ui.RepositoryEntryRuntimeController.event(RepositoryEntryRuntimeController.java:489)
         at org.olat.course.run.CourseRuntimeController.event(CourseRuntimeController.java:777)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              kscherer Kirsten Scherer
              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 - 30 minutes
                30m