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

RS: open outdated list of files in briefcase

    XMLWordPrintable

    Details

      Description

      Due to the architecture of the folder UI component, it's possible that a request to open a document or a folder is used with a too old or to new list of files and produce a red screen. Check the list and send an error message if it happens instead of a red screen.

      2020-03-23 08:51:36.010 [ajp-nio2-8021-exec-5] ERROR OLATRuntimeException ^%^ I51235-J7733 ^%^ org.olat.core.logging.OLATRuntimeException
      https://xyz.de/auth/BusinessGroup/3244425249/toolfolder/0/path%3D~~Arbeitsergebnisse%20der%20Auszubildenden%20-nach%20F%C3%A4chern%20sortiert-~~Biochemie%20-%20bitte%20immer%20eigenen%20Namen%20bei%20Datei%20angeben-/0
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18363
      **RedScreen** Index: 2, Size: 1
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>foldercomp</compname>
      		<compclass>org.olat.core.commons.modules.bc.components.FolderComponent</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>editContent</command>
      			<tostring>com:editContent,org.olat.core.gui.control.Event@a8f45f2e</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.commons.modules.bc.FolderRunController</controllername>
      		<controllername>org.olat.group.ui.run.BusinessGroupMainRunController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 1
      at java.util.ArrayList.rangeCheck(ArrayList.java:657)
      at java.util.ArrayList.get(ArrayList.java:433)
      at org.olat.core.commons.modules.bc.commands.CmdOpenContent.execute(CmdOpenContent.java:90)
      at org.olat.core.commons.modules.bc.FolderRunController.event(FolderRunController.java:455)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:206)
      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.commons.modules.bc.components.FolderComponent.doDispatchRequest(FolderComponent.java:155)
      at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
      at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1218)
      at org.olat.core.gui.components.Window.dispatchRequest(Window.java:400)
      ... 39 more
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: