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

RS: delete a file and missing revision

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 15.5.4
    • None

    Description

      OO-5542 didn't solve the issue.

      Entity not found javax.persistence.EntityNotFoundException: Unable to find org.olat.core.commons.services.vfs.model.VFSRevisionImpl with id 906476
       at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:163)
       at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:286)
       at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:181)
       at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:310)
       at org.hibernate.engine.internal.StatefulPersistenceContext.unproxyAndReassociate(StatefulPersistenceContext.java:674)
       at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:88)
       at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:72)
       at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:93)
       at org.hibernate.internal.SessionImpl.fireDelete(SessionImpl.java:904)
       at org.hibernate.internal.SessionImpl.delete(SessionImpl.java:836)
       at org.hibernate.internal.SessionImpl.remove(SessionImpl.java:3271)
       at org.olat.core.commons.services.vfs.manager.VFSRevisionDAO.deleteRevision(VFSRevisionDAO.java:241)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.deleteRevisions(VFSRepositoryServiceImpl.java:1100)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.addToRevisions(VFSRepositoryServiceImpl.java:1017)
       at org.olat.core.commons.services.vfs.manager.VFSRepositoryServiceImpl.markAsDeleted(VFSRepositoryServiceImpl.java:577)
       at org.olat.core.util.vfs.LocalFileImpl.delete(LocalFileImpl.java:156)
       at org.olat.core.commons.modules.bc.commands.CmdMoveCopy.doMove(CmdMoveCopy.java:194)
       at org.olat.core.commons.modules.bc.commands.CmdMoveCopy.event(CmdMoveCopy.java:152)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.link.Link.dispatch(Link.java:215)
       at org.olat.core.gui.components.link.Link.doDispatchRequest(Link.java:202)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1266)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:441)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:319)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
      

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            srosse Stéphane Rossé
            Mandy Menzel Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: