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

Concurrent delete / move of a calendar event

    XMLWordPrintable

    Details

      Description

      Concurrent delete move an event in a calendar.
      How to reproduce:

      • Two users go in a course calendar
      • The first user delete an event
      • The second move the event the first user deleted
        -> Red screen

      You need to be quick in testing. The delete event will disappear from the screen of the second user in a few seconds.

      2018-11-30 08:41:29,586 [ajp-nio2-8021-exec-60] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N1-E12 ^%^ org.olat.core.logging
      https://xyz.de/auth/RepositoryEntry/2249916430/CourseNode/97918528499601
      
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
      
      **RedScreen**
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_indexWeekly</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.commons.calendar.ui.events.CalendarGUIResizeEvent</class&gt;
      			<command>resizecalevent</command>
      			<tostring>com:resizecalevent,org.olat.commons.calendar.ui.events.CalendarGUIResizeEvent@14724c5f</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.commons.calendar.ui.WeeklyCalendarController</controllername>
      		<controllername>org.olat.course.run.RunMainController</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.OLATRuntimeException: null
      -> 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:589)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:282)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:294)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:237)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      >>> stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.commons.calendar.ui.WeeklyCalendarController.doResize(WeeklyCalendarController.java:668)
         at org.olat.commons.calendar.ui.WeeklyCalendarController.formInnerEvent(WeeklyCalendarController.java:315)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:421)
         at org.olat.commons.calendar.ui.WeeklyCalendarController.event(WeeklyCalendarController.java:346)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         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.form.flexible.impl.FormWrapperContainer.fireFormEvent(FormWrapperContainer.java:148)
         at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:788)
         at org.olat.commons.calendar.ui.components.FullCalendarElement.doResize(FullCalendarElement.java:231)
      

        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:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 10 minutes
                10m