comanage-dev - [comanage-dev] Petition errors
Subject: COmanage Developers List
List archive
- From: Marie Huynh <>
- To: comanage-dev <>
- Subject: [comanage-dev] Petition errors
- Date: Wed, 10 Apr 2013 12:29:48 -0700
- Authentication-results: sfpop-ironport04.merit.edu; dkim=pass (signature verified)
Well, I figured out how to get rows generated for co_petitions so I could work on the view page, but I did find other errors/issues.
- I updated my checkout and nuked my database.
- Created a new Org ID
- Added Enrollment Flow
- Added attributes
- Created Petition
- Filled in Form
- Got Not Implemented Error
The Not Implemented error is thrown when
$CmpEnrollmentConfiguration = ClassRegistry::init('CmpEnrollmentConfiguration');
if($CmpEnrollmentConfiguration->orgIdentitiesFromCOEF()) is false. This returns false if this returns nothing:
$r = $this->find('first',
array('conditions' =>
array('CmpEnrollmentConfiguration.name' => 'CMP Enrollment Configuration',
'CmpEnrollmentConfiguration.status' => StatusEnum::Active),
// We don't need to pull attributes, just the configuration
'contain' => false,
'fields' =>
array('CmpEnrollmentConfiguration.attrs_from_coef')));
So how does this table get populated? I went and checked off Enable Attributes Via CO Enrollment Flow under CMP Enrollment Configuration and tried to add a co_petition again. That resulted in these errors in place of Not Implemented:
Notice (8): Undefined index: EnrolleeOrgIdentity [APP/Model/CoPetition.php, line 319]
Warning (2): array_keys() expects parameter 1 to be array, null given [APP/Model/AppModel.php, line 103]
Warning (2): Invalid argument supplied for foreach() [APP/Model/AppModel.php, line 103]
Notice (8): Undefined index: EnrolleeOrgIdentity [APP/Model/CoPetition.php, line 1338]
Warning (2): array_keys() expects parameter 1 to be array, null given [APP/Model/AppModel.php, line 123]
Warning (2): Invalid argument supplied for foreach() [APP/Model/AppModel.php, line 123]
It looks like the rows are generated anyway though. That was enough to get me to the point I could work on that ticket, but we should create a ticket for those errors if there isn't one already. Benn, does this look familiar to you?
Marie
- [comanage-dev] Petition errors, Marie Huynh, 04/10/2013
- Re: [comanage-dev] Petition errors, Benn Oshrin, 04/12/2013
Archive powered by MHonArc 2.6.16.