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

RS if an admin delete itself and release its own lock

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.4.3, 9.0.2
    • Fix Version/s: 8.4.5, 9.0.3
    • Component/s: None
    • Labels:
      None

      Description

      Solution: check the identity primary key and not the username (it's changed after deletion)

      RedScreen on vilbert (tomcat11) 8.4.3
      2013-09-03 12:29:45,729 [TP-Processor14] ERROR AssertException - OLAT::ERROR % N11-E2 % org.olat.core.logging
      Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0
      *RedScreen* cannot release lock since the requestor of the release (frentix) is not the owner (201309031228_bkp_frentix) of the lock (deleteGroup@org.olat.admin.user.delete.TabbedPaneController::0)
      <dispatchinfo>
      <componentinfo>
      <compname>olatMenuTree</compname>
      <compclass>org.olat.core.gui.components.tree.MenuTree</compclass>
      <extendedinfo>n/a</extendedinfo>
      <event>
      <class>org.olat.core.gui.components.tree.TreeEvent</class>
      <command>ctncl</command>
      <tostring>TreeEvent:

      {cmd:ctncl, nodeid:88197710243020}

      </tostring>
      </event>
      </componentinfo>
      <controllerinfo>
      <controllername>org.olat.admin.UserAdminMainController</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.AssertException: cannot release lock since the requestor of the release (frentix) is not the owner (201309031228_bkp_frentix) of the lock (deleteGroup@org.olat.admin.user.delete.TabbedPaneController::0)
      -> at org.olat.commons.coordinate.cluster.lock.ClusterLocker.releaseLockEntry(ClusterLocker.java:191)
      at org.olat.commons.coordinate.cluster.lock.ClusterLocker.releaseLock(ClusterLocker.java:165)
      at org.olat.admin.UserAdminMainController.releaseDeleteUserLock(UserAdminMainController.java:528)
      at org.olat.admin.UserAdminMainController.initComponentFromMenuCommand(UserAdminMainController.java:220)
      at org.olat.admin.UserAdminMainController.event(UserAdminMainController.java:149)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:195)
      at org.olat.core.gui.components.Component$1.run(Component.java:238)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.components.Component.fireEvent(Component.java:235)
      at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:253)
      at org.olat.core.gui.components.tree.MenuTree.doDispatchRequest(MenuTree.java:169)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:51)
      at org.olat.commons.coordinate.cluster.lock.ClusterLocker.releaseLockEntry(ClusterLocker.java:191)
      at org.olat.commons.coordinate.cluster.lock.ClusterLocker.releaseLock(ClusterLocker.java:165)
      at org.olat.admin.UserAdminMainController.releaseDeleteUserLock(UserAdminMainController.java:528)
      at org.olat.admin.UserAdminMainController.initComponentFromMenuCommand(UserAdminMainController.java:220)
      at org.olat.admin.UserAdminMainController.event(UserAdminMainController.java:149)
      at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:195)
      at org.olat.core.gui.components.Component$1.run(Component.java:238)
      at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      at org.olat.core.gui.components.Component.fireEvent(Component.java:235)
      at org.olat.core.gui.components.tree.MenuTree.handleClick(MenuTree.java:253)

        Attachments

          Activity

            People

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