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

RS delete a portfolio template

    XMLWordPrintable

    Details

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

      Description

      2014-11-05 11:43:54,004 [ajp-apr-8019-exec-20] ERROR DBRuntimeException  - OLAT::ERROR ^%^ N19-E55 ^%^ org.olat.core.logging
      Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36
      **RedScreen** DBQuery error.
      <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.repository.ui.author.AuthorListController</controllername>
      		<controllername>org.olat.repository.ui.author.OverviewAuthoringController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      >>>stack of 1.cause::org.olat.core.logging.DBRuntimeException: DBQuery error. 
      -> at org.olat.core.commons.persistence.DBQueryImpl.uniqueResult(DBQueryImpl.java:700)
         at org.olat.portfolio.manager.EPStructureManager.isTemplateInUse(EPStructureManager.java:1362)
         at org.olat.portfolio.manager.EPFrontendManager.isTemplateInUse(EPFrontendManager.java:1032)
         at org.olat.repository.handlers.PortfolioHandler.readyToDelete(PortfolioHandler.java:191)
         at org.olat.repository.manager.RepositoryServiceImpl.delete(RepositoryServiceImpl.java:241)
         at org.olat.repository.ui.author.AuthorListController.doCompleteDelete(AuthorListController.java:685)
         at org.olat.repository.ui.author.AuthorListController.event(AuthorListController.java:422)
         at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:241)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:238)
         at org.olat.core.gui.control.DefaultController.fireEvent(DefaultController.java:186)
      >>>stack of 2.cause::org.hibernate.HibernateException: A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: org.olat.portfolio.model.structel.EPStructuredMapTemplate.groups
      -> at org.hibernate.engine.internal.Collections.processDereferencedCollection(Collections.java:114)
         at org.hibernate.engine.internal.Collections.processUnreachableCollection(Collections.java:67)
         at org.hibernate.event.internal.AbstractFlushingEventListener.flushCollections(AbstractFlushingEventListener.java:258)
         at org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:103)
         at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:61)
         at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1191)
         at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1257)
         at org.hibernate.internal.QueryImpl.list(QueryImpl.java:103)
         at org.hibernate.internal.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:966)
         at org.olat.core.commons.persistence.DBQueryImpl.uniqueResult(DBQueryImpl.java:697)
         at org.olat.portfolio.manager.EPStructureManager.isTemplateInUse(EPStructureManager.java:1362)
      

        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 - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 30 minutes
                2h 30m