comanage-dev - [comanage-dev] Re: issue starting on CO-231
Subject: COmanage Developers List
List archive
- From: Scott Koranda <>
- To: comanage-dev <>
- Subject: [comanage-dev] Re: issue starting on CO-231
- Date: Thu, 16 Feb 2012 10:37:20 -0600
> Hi,
>
> I attempted to start working on CO-231 but cannot do an
> adequate test to see if I can reproduce the error because I
> cannot add a person to a CO.
>
> When I attempt to add a person to a CO by clicking on "Send
> Invite" for this URL
>
> https://127.0.0.1/registry/co_people/invite/orgidentityid:2/co:2
>
> I just continue to receive "Please recheck your submission".
>
> The only field marked as required on the form is Given Name
> and that is filled in, so there is a bug.
>
> I will dive in and fix that bug first, but if this rings a
> bell for anyone and you have insights please let me know.
>
When I click "Send Invite" the method is POST to this URL:
/registry/co_people/add
So in CoPeopleController.php there is no 'add()' function.
I added a simple function:
function add() {
if ($this->CoPerson->save($this->request->data)){
}
debug($this->CoPerson->validationErrors);
}
(Don't worry, I won't be committing this code...)
After doing that, I was able to complete an "invite".
So how did this work before?
Thanks,
Scott
- [comanage-dev] issue starting on CO-231, Scott Koranda, 02/16/2012
- [comanage-dev] Re: issue starting on CO-231, Scott Koranda, 02/16/2012
- [comanage-dev] Re: issue starting on CO-231, Scott Koranda, 02/16/2012
- [comanage-dev] Re: issue starting on CO-231, Scott Koranda, 02/16/2012
Archive powered by MHonArc 2.6.16.