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

RS change a note

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.0.8
    • Component/s: Course
    • Labels:
      None

      Description

      2014-11-18 08:39:32,828 [ajp-apr-8008-exec-13] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N8-E3 ^%^ org.olat.core.logging ^
      https://olat.bzgbs.ch/auth/1%3A1%3A0%3A0%3A0/ ^%^ Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10
      **RedScreen** Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.note.NoteImpl#223084544]
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_vertical</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 ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.note.NoteController</controllername>
      		<controllername>org.olat.note.NoteListController</controllername>
      		<controllername>org.olat.home.HomeMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.note.NoteImpl#223084544]
      -> 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:524)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:269)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:212)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      >>> stack of 2.cause::javax.persistence.OptimisticLockException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.note.NoteImpl#223084544]
      -> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.wrapStaleStateException(AbstractEntityManagerImpl.java:1785)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1705)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1683)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:1206)
         at org.olat.note.NoteManager.updateNote(NoteManager.java:143)
         at org.olat.note.NoteController.createOrUpdateNote(NoteController.java:146)
         at org.olat.note.NoteController.formOK(NoteController.java:192)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:369)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:197)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
      >>> stack of 3.cause::org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.note.NoteImpl#223084544]
      -> at org.hibernate.event.internal.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:338)
         at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:186)
         at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:85)
         at org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:876)
         at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:858)
         at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:863)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:1196)
         at org.olat.note.NoteManager.updateNote(NoteManager.java:143)
         at org.olat.note.NoteController.createOrUpdateNote(NoteController.java:146)
         at org.olat.note.NoteController.formOK(NoteController.java:192)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:369)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: