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

Cannot copy portfolio template

    XMLWordPrintable

    Details

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

      Description

      Fehlernummer: N4-E131 
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.76 Safari/537.36
      
      **RedScreen** Save failed in transaction. object: OLATResource(210930700)[EPStructuredMapTemplate(89109504092429)],key:210930700=org.olat.resource.OLATResourceImpl@c928c0c
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</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.repository.ui.author.CopyRepositoryEntryController</controllername>
      		<controllername>org.olat.repository.ui.author.AuthorListController</controllername>
      		<controllername>org.olat.repository.ui.author.OverviewAuthoringController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Cause: stack of 1.cause::org.olat.core.logging.DBRuntimeException: Save failed in transaction. object:  OLATResource(210930700)[EPStructuredMapTemplate(89109504092429)],key:210930700=org.olat.resource.OLATResourceImpl@c928c0c
      -> at org.olat.core.commons.persistence.DBImpl.saveObject(DBImpl.java:545)
         at org.olat.portfolio.manager.EPStructureManager.fillStructureElement(EPStructureManager.java:1664)
         at org.olat.portfolio.manager.EPStructureManager.importPortfolioMapTemplate(EPStructureManager.java:1703)
         at org.olat.portfolio.manager.EPFrontendManager.importPortfolioMapTemplate(EPFrontendManager.java:1196)
         at org.olat.repository.handlers.PortfolioHandler.copy(PortfolioHandler.java:148)
         at org.olat.repository.manager.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:208)
         at org.olat.repository.ui.author.CopyRepositoryEntryController.formOK(CopyRepositoryEntryController.java:93)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:369)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:201)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:238)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      
      stack of 2.cause::javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: org.olat.resource.OLATResourceImpl
      -> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)
         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.persist(AbstractEntityManagerImpl.java:1187)
         at org.olat.core.commons.persistence.DBImpl.saveObject(DBImpl.java:541)
         at org.olat.portfolio.manager.EPStructureManager.fillStructureElement(EPStructureManager.java:1664)
         at org.olat.portfolio.manager.EPStructureManager.importPortfolioMapTemplate(EPStructureManager.java:1703)
         at org.olat.portfolio.manager.EPFrontendManager.importPortfolioMapTemplate(EPFrontendManager.java:1196)
         at org.olat.repository.handlers.PortfolioHandler.copy(PortfolioHandler.java:148)
         at org.olat.repository.manager.RepositoryServiceImpl.copy(RepositoryServiceImpl.java:208)
         at org.olat.repository.ui.author.CopyRepositoryEntryController.formOK(CopyRepositoryEntryController.java:93)
      
      stack of 3.cause::org.hibernate.PersistentObjectException: detached entity passed to persist: org.olat.resource.OLATResourceImpl
      -> at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:139)
         at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:75)
         at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:811)
         at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:784)
         at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:789)
         at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1181)
         at org.olat.core.commons.persistence.DBImpl.saveObject(DBImpl.java:541)
         at org.olat.portfolio.manager.EPStructureManager.fillStructureElement(EPStructureManager.java:1664)
         at org.olat.portfolio.manager.EPStructureManager.importPortfolioMapTemplate(EPStructureManager.java:1703)
         at org.olat.portfolio.manager.EPFrontendManager.importPortfolioMapTemplate(EPFrontendManager.java:1196)
         at org.olat.repository.handlers.PortfolioHandler.copy(PortfolioHandler.java:148)2015-03-12
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            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 - 1 hour, 30 minutes
                1h 30m