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

RS delete a portfolio map

    XMLWordPrintable

    Details

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

      Description

      2015-01-13 14:17:06,265 [ajp-apr-8004-exec-60] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N4-E362 ^%^ org.olat.core.logging 
      Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
      
      **RedScreen** Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.portfolio.model.structel.EPDefaultMap#226984269]
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>link_0</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>link_0</command>
      			<tostring>com:link_0,org.olat.core.gui.control.Event@be46a54a</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.control.generic.modal.DialogBoxController</controllername>
      		<controllername>org.olat.portfolio.ui.structel.EPMultipleMapController</controllername>
      		<controllername>org.olat.portfolio.ui.EPMapRunController</controllername>
      		<controllername>org.olat.portfolio.ui.EPOverviewController</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.portfolio.model.structel.EPDefaultMap#226984269]
      -> 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.doGet(OpenOLATServlet.java:198)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      >>> stack of 2.cause::javax.persistence.OptimisticLockException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.portfolio.model.structel.EPDefaultMap#226984269]
      -> 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.portfolio.manager.EPPolicyManager.updateMapPolicies(EPPolicyManager.java:166)
         at org.olat.portfolio.manager.EPStructureManager.removeStructureRecursively(EPStructureManager.java:998)
         at org.olat.portfolio.manager.EPFrontendManager.deletePortfolioStructure(EPFrontendManager.java:908)
         at org.olat.portfolio.ui.structel.EPMultipleMapController.event(EPMultipleMapController.java:487)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:241)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      >>> stack of 3.cause::org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.portfolio.model.structel.EPDefaultMap#226984269]
      -> 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.portfolio.manager.EPPolicyManager.updateMapPolicies(EPPolicyManager.java:166)
         at org.olat.portfolio.manager.EPStructureManager.removeStructureRecursively(EPStructureManager.java:998)
         at org.olat.portfolio.manager.EPFrontendManager.deletePortfolioStructure(EPFrontendManager.java:908)
         at org.olat.portfolio.ui.structel.EPMultipleMapController.event(EPMultipleMapController.java:487)
      

        Attachments

          Activity

            People

            • Assignee:
              srosse Stéphane Rossé
              Reporter:
              srosse Stéphane Rossé
              Tester:
              Kirsten Scherer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h