Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1230

Reconciliation of COU members groups causes ChangelogBehavior to throw RuntimeException

    XMLWordPrintable

Details

    Description

      "Reconcile All Members Groups" threw this stack trace found in the logs of a deployment but it is not apparent what conditions led to it:

      2016-04-20 12:09:07 Error: [RuntimeException] Record is already marked deleted
      Request URL: /registry/co_groups/reconcile.json?coid=2
      Stack Trace:
      #0 [internal function]: ChangelogBehavior->beforeDelete(Object(CoGroup), true)
      #1 /opt/comanage-registry-feature-co1204-fixes/lib/Cake/Utility/ObjectCollection.php(128): call_user_func_array(Array, Array)
      #2 [internal function]: ObjectCollection->trigger(Object(CakeEvent))
      #3 /opt/comanage-registry-feature-co1204-fixes/lib/Cake/Event/CakeEventManager.php(243): call_user_func(Array, Object(CakeEvent))
      #4 /opt/comanage-registry-feature-co1204-fixes/lib/Cake/Model/Model.php(2685): CakeEventManager->dispatch(Object(CakeEvent))
      #5 /opt/comanage-registry-feature-co1204-fixes/app/Model/AppModel.php(458): Model->delete('258', true)
      #6 /opt/comanage-registry-feature-co1204-fixes/app/Model/CoGroup.php(586): AppModel->delete('258')
      #7 /opt/comanage-registry-feature-co1204-fixes/app/Controller/CoGroupsController.php(535): CoGroup->reconcileMembersGroupsExistence('2')
      #8 [internal function]: CoGroupsController->reconcile()
      #9 /opt/comanage-registry-feature-co1204-fixes/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(CoGroupsController), Array)
      #10 /opt/comanage-registry-feature-co1204-fixes/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
      #11 /opt/comanage-registry-feature-co1204-fixes/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(CoGroupsController), Object(CakeRequest))
      #12 /opt/comanage-registry-feature-co1204-fixes/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
      #13

      {main}

      Attachments

        Issue Links

          Activity

            People

              scott.koranda.3@at.internet2.edu Scott Koranda SCG (Inactive)
              scott.koranda.3@at.internet2.edu Scott Koranda SCG (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: