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

RS adding a structure element in a page of an portfolio

    XMLWordPrintable

    Details

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

      Description

      @Tester: i cannot reproduce the issue, but we have several reports per week (2-3)

      2015-11-17 20:03:46,072 [ajp-nio2-8049-exec-98] ERROR DBRuntimeException - OLAT::ERROR ^%^ N49-E80 ^%^ org.olat.core.logging 
      
      https://hsafhnw.frentix.com/auth/1%3A1%3A0%3A0%3A0/ ^%^ Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko ^%^ **RedScreen** Error in list()
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>popupLink</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>add</command>
      			<tostring>com:add,org.olat.core.gui.control.Event@178c0</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.portfolio.ui.structel.EPAddElementsController</controllername>
      		<controllername>org.olat.portfolio.ui.structel.EPPageViewController</controllername>
      		<controllername>org.olat.portfolio.ui.structel.EPMultiplePageController</controllername>
      		<controllername>org.olat.portfolio.ui.structel.EPMapViewController</controllername>
      		<controllername>org.olat.group.ui.run.BusinessGroupMainRunController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.DBRuntimeException: Error in list()
      -> at org.olat.core.commons.persistence.DBQueryImpl.list(DBQueryImpl.java:181)
         at org.olat.portfolio.manager.EPStructureManager.loadStructureParent(EPStructureManager.java:572)
         at org.olat.portfolio.manager.EPFrontendManager.loadStructureParent(EPFrontendManager.java:977)
         at org.olat.portfolio.ui.structel.EPPageViewController.init(EPPageViewController.java:90)
         at org.olat.portfolio.ui.structel.EPPageViewController.event(EPPageViewController.java:157)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
         at org.olat.portfolio.ui.structel.EPAddElementsController.event(EPAddElementsController.java:126)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      >>> stack of 2.cause::org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.portfolio.model.structel.EPPage#276299790]
      -> at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2541)
         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3285)
         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3183)
         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3525)
         at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:159)
         at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
         at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
         at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
         at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:67)
         at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1227)
         at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1293)
      
      015-11-16 12:23:39,927 [ajp-bio-8006-exec-893] ERROR DBRuntimeException - OLAT::ERROR ^%^ N1-E7010 ^%^ org.olat.core.logging
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 ^%^ **RedScreen** Error in list()
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>popupLink</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>add</command>
      			<tostring>com:add,org.olat.core.gui.control.Event@178c0</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.portfolio.ui.structel.EPAddElementsController</controllername>
      		<controllername>org.olat.portfolio.ui.structel.EPPageViewController</controllername>
      		<controllername>org.olat.portfolio.ui.structel.EPMultiplePageController</controllername>
      		<controllername>org.olat.portfolio.ui.structel.EPMapViewController</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.DBRuntimeException: Error in list()
      -> at org.olat.core.commons.persistence.DBQueryImpl.list(DBQueryImpl.java:181)
         at org.olat.portfolio.manager.EPStructureManager.loadStructureParent(EPStructureManager.java:572)
         at org.olat.portfolio.manager.EPFrontendManager.loadStructureParent(EPFrontendManager.java:977)
         at org.olat.portfolio.ui.structel.EPPageViewController.init(EPPageViewController.java:90)
         at org.olat.portfolio.ui.structel.EPPageViewController.event(EPPageViewController.java:157)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:246)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:243)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:190)
         at org.olat.portfolio.ui.structel.EPAddElementsController.event(EPAddElementsController.java:126)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
      >>> stack of 2.cause::org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.portfolio.model.structel.EPPage#477135125]
      -> at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:2541)
         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3285)
         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:3183)
         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:3525)
         at org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:159)
         at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
         at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
         at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
         at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:67)
         at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1227)
         at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1293)
      

        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, 30 minutes
                2h 30m