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

RS: opening in course editor the folder if it doesn't exists

    XMLWordPrintable

    Details

      Description

      In the editor of the course element folder, try to open the folder if it doesn't exist trigger a red screen.

      <dispatchinfo>
      	<componentinfo>
      		<compname>folder.view</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>folder.view</command>
      			<tostring>com:folder.view,org.olat.core.gui.control.Event@3e8ec44</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.nodes.bc.BCCourseNodeEditController</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> 
      
      Throwable: java.lang.NullPointerException
      message:null,java.lang.NullPointerException
      at org.olat.core.commons.modules.bc.components.FolderComponent.setCurrentContainerPath(FolderComponent.java:378)
      at org.olat.core.commons.modules.bc.components.FolderComponent.(FolderComponent.java:138)
      at org.olat.core.commons.modules.bc.FolderRunController.(FolderRunController.java:301)
      at org.olat.core.commons.modules.bc.FolderRunController.(FolderRunController.java:230)
      at org.olat.core.commons.modules.bc.FolderRunController.(FolderRunController.java:195)
      at org.olat.core.commons.modules.bc.FolderRunController.(FolderRunController.java:144)
      at org.olat.course.nodes.bc.BCCourseNodeEditController.doOpenFolder(BCCourseNodeEditController.java:186)
      at org.olat.course.nodes.bc.BCCourseNodeEditController.event(BCCourseNodeEditController.java:150)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            mmenzel Mandy Menzel
            Tester:
            Mandy Menzel
            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 - 40 minutes
                40m