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

RS by copy of folder course element

    XMLWordPrintable

    Details

      Description

      I cannot reproduce the issue. It probably copied a structure element with a lot of folder elements.
      My solution is to created the directory on the server while copying a folder element.

      2017-09-05 22:54:38,776 [ajp-nio2-8063-exec-7] ERROR AssertException - OLAT::ERROR ^%^ N63-E3 ^%^ org.olat.core.logging
      https://oszj.openolat.com/auth/RepositoryEntry/13598721/Editor/0
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8
      **RedScreen** Cannot create directory of LocalFolderImpl with reason (exists= ): false && created= false) path: /fx/appfs/oszj/bcroot/course/93463883876369/foldernodes/96048331366388
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_stepslayout</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation finish</command>
      			<tostring>com:validation finish,org.olat.core.gui.control.Event@2f96e239</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.editor.PublishStep01AccessForm</controllername>
      		<controllername>org.olat.core.gui.control.generic.wizard.StepsMainRunController</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>
      
      >>> stack of 1.cause::org.olat.core.logging.AssertException: Cannot create directory of LocalFolderImpl with reason (exists= ): false && created= false) path: /fx/appfs/oszj/bcroot/course/93463883876369/foldernodes/96048331366388
      -> at org.olat.core.util.vfs.LocalFolderImpl.<init>(LocalFolderImpl.java:81)
         at org.olat.core.commons.modules.bc.vfs.OlatRootFolderImpl.<init>(OlatRootFolderImpl.java:50)
         at org.olat.course.MergedCourseContainer.getBCContainer(MergedCourseContainer.java:370)
         at org.olat.course.MergedCourseContainer.addFoldersForAdmin(MergedCourseContainer.java:278)
         at org.olat.course.MergedCourseContainer.addFoldersForAdmin(MergedCourseContainer.java:309)
         at org.olat.course.MergedCourseContainer.addFoldersForAdmin(MergedCourseContainer.java:309)
         at org.olat.course.MergedCourseContainer.init(MergedCourseContainer.java:132)
         at org.olat.course.PersistingCourseImpl.getCourseFolderContainer(PersistingCourseImpl.java:182)
         at org.olat.course.nodes.STCourseNode.createEditController(STCourseNode.java:130)
         at org.olat.course.editor.EditorMainController.initNodeEditor(EditorMainController.java:523)
         at org.olat.course.editor.EditorMainController.updateViewForSelectedNodeId(EditorMainController.java:502)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.core.util.vfs.LocalFolderImpl.<init>(LocalFolderImpl.java:81)
         at org.olat.core.commons.modules.bc.vfs.OlatRootFolderImpl.<init>(OlatRootFolderImpl.java:50)
         at org.olat.course.MergedCourseContainer.getBCContainer(MergedCourseContainer.java:370)
         at org.olat.course.MergedCourseContainer.addFoldersForAdmin(MergedCourseContainer.java:278)
         at org.olat.course.MergedCourseContainer.addFoldersForAdmin(MergedCourseContainer.java:309)
         at org.olat.course.MergedCourseContainer.addFoldersForAdmin(MergedCourseContainer.java:309)
         at org.olat.course.MergedCourseContainer.init(MergedCourseContainer.java:132)
         at org.olat.course.PersistingCourseImpl.getCourseFolderContainer(PersistingCourseImpl.java:182)
         at org.olat.course.nodes.STCourseNode.createEditController(STCourseNode.java:130)
         at org.olat.course.editor.EditorMainController.initNodeEditor(EditorMainController.java:523)
      

        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 - 1 hour, 1 minute
                1h 1m