Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] Fwd: [JIRA] (CO-495) Error Deleting a Group Membership

Subject: COmanage Developers List

List archive

Re: [comanage-dev] Fwd: [JIRA] (CO-495) Error Deleting a Group Membership


Chronological Thread 
  • From: Marie Huynh <>
  • To: Scott Koranda <>
  • Cc: comanage-dev <>
  • Subject: Re: [comanage-dev] Fwd: [JIRA] (CO-495) Error Deleting a Group Membership
  • Date: Tue, 23 Oct 2012 14:03:07 -0700

No, a different error:

http://localhost/registry/co_group_members/delete/3/copersonid:3/co:11

via browser gives:

Notice (8): Undefined index: CoGroupMember [APP/Controller/CoGroupMembersController.php, line 322]
Code Context
      $params = array('controller' => 'co_groups',
                      'action'     => 'edit',
                      $this->request->data['CoGroupMember']['co_group_id'],
$cop	=	null

CoGroupMembersController::performRedirect() - APP/Controller/CoGroupMembersController.php, line 322
StandardController::delete() - APP/Controller/StandardController.php, line 254
CoGroupMembersController::delete() - APP/Controller/CoGroupMembersController.php, line 220
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 473
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 104
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 86
[main] - APP/webroot/index.php, line 96

I'll see what I find.

Marie


On Tue, Oct 23, 2012 at 1:31 PM, Scott Koranda <> wrote:
Hi,

Marie can you reproduce this now?

Thanks,

Scott


---------- Forwarded message ----------
From: Benn Oshrin (JIRA) <>
Date: Tue, Oct 23, 2012 at 7:49 AM
Subject: [JIRA] (CO-495) Error Deleting a Group Membership
To:


Benn Oshrin created CO-495:
------------------------------

             Summary: Error Deleting a Group Membership
                 Key: CO-495
                 URL: https://bugs.internet2.edu/jira/browse/CO-495
             Project: COmanage
          Issue Type: Bug
          Components: Registry
    Affects Versions: COmanage Registry 0.7 (Harmonic Heptagon)
            Reporter: Scott Koranda
            Assignee: Benn Oshrin
            Priority: Blocker
             Fix For: COmanage Registry 0.7 (Harmonic Heptagon)


I am also seeing an error when deleting a membership--this is
without my Grouper code.

If I do

GET /registry/co_group_members/delete/6/copersonid:3/co:2 HTTP/1.1

I get back a 302 with

Location: https://127.0.0.1/registry/co_groups/edit/co:2/tab:group

When my browser does a GET of that

GET /registry/co_groups/edit/co:2/tab:group HTTP/1.1

I see this:

Warning (2): Missing argument 1 for CoGroupsController::edit()
[APP/Controller/CoGroupsController.php, line 164]
Code

   */

  function edit($id) {

CoGroupsController::edit() -
APP/Controller/CoGroupsController.php, line 164
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() -
CORE/Cake/Controller/Controller.php, line 473
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line
104
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php,
line 86
[main] - APP/webroot/index.php, line 96

So the CoGroupsController has an edit function that is
expecting to get $id but it isn't being passed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira




Archive powered by MHonArc 2.6.16.

Top of Page