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

Cannot delete course in catalog

    XMLWordPrintable

    Details

      Description

      RedScreen on egg (tomcat16) 8.4.0
      2013-06-12 09:12:12,216 [ajp-8036-6] ERROR OLATRuntimeException - OLAT::ERROR % N16-E50
      Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3)
      *RedScreen* Removing a detached instance org.olat.catalog.CatalogEntryImpl#152174593
      <dispatchinfo>
      <componentinfo>
      <compname>link_0</compname>
      <compclass>org.olat.core.gui.components.link.Link</compclass>
      <extendedinfo>n/a</extendedinfo>
      <event>
      <class>org.olat.core.gui.control.Event</class>
      <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.catalog.ui.CatalogController</controllername>
      <controllername>org.olat.repository.controllers.RepositoryMainController</controllername>
      <controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.controller.simple.SimpleBaseController</controllername>
      <controllername>org.olat.core.commons.chiefcontrollers.BaseChiefController</controllername>
      </controllerinfo>
      </dispatchinfo>
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: Removing a detached instance org.olat.catalog.CatalogEntryImpl#152174593
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:107)
      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:508)
      at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:226)
      at org.olat.core.gui.components.Component.dispatchRequest(Component.java:192)
      at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:221)
      at org.olat.core.dispatcher.DispatcherAction.execute(DispatcherAction.java:154)
      at org.olat.core.servlets.OLATServlet.doPost(OLATServlet.java:155)
      at org.olat.core.servlets.OLATServlet.doGet(OLATServlet.java:128)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
      >>> stack of 2.cause::java.lang.IllegalArgumentException: Removing a detached instance org.olat.catalog.CatalogEntryImpl#152174593
      -> at org.hibernate.ejb.event.EJB3DeleteEventListener.performDetachedEntityDeletionCheck(EJB3DeleteEventListener.java:67)
      at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:107)
      at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:74)
      at org.hibernate.internal.SessionImpl.fireDelete(SessionImpl.java:945)
      at org.hibernate.internal.SessionImpl.delete(SessionImpl.java:924)
      at org.hibernate.ejb.AbstractEntityManagerImpl.remove(AbstractEntityManagerImpl.java:905)
      at org.olat.catalog.CatalogManager.deleteCatalogEntry(CatalogManager.java:301)
      at org.olat.catalog.ui.CatalogController.event(CatalogController.java:697)
      at org.olat.core.gui.control.DefaultController$1.run(DefaultController.java:239)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:236)

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Kirsten Scherer
            Votes:
            0 Vote for this issue
            Watchers:
            0 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 - 30 minutes
                30m