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

RS: deleted course can be edited

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 15.3.10, 15.4.2
    • Course
    • None

    Description

      Closed, deleted and trashed courses must be read-only.

      2021-02-03 11:04:27.105 [ajp-nio2-192.168.57.203-8038-exec-308] ERROR OLATRuntimeException ^%^ I9300655-J3559013
      org.olat.core.logging.OLATRuntimeException
      https://openolat.akad.ch/auth/RepositoryEntry/61931908/Editor/0
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
      **RedScreen** null
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>command.edit</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>command.edit</command>
      			<tostring>com:command.edit,org.olat.core.gui.control.Event@71e09eec</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.commons.controllers.filechooser.LinkFileCombiCalloutController</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>
      org.olat.core.logging.OLATRuntimeException
      Caused by: java.lang.NullPointerException
       at org.olat.core.util.vfs.VFSManager.resolveOrCreateLeafFromPath(VFSManager.java:307)
       at org.olat.core.commons.controllers.filechooser.LinkFileCombiCalloutController.doOpenWysiwygEditor(LinkFileCombiCalloutController.java:264)
       at org.olat.core.commons.controllers.filechooser.LinkFileCombiCalloutController.event(LinkFileCombiCalloutController.java:169)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.link.Link.dispatch(Link.java:215)
       at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:202)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:433) ... 39 more
      

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            srosse Stéphane Rossé
            Mandy Menzel Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: