Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] Petition errors

Subject: COmanage Developers List

List archive

[comanage-dev] Petition errors


Chronological Thread 
  • 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.
  1. I updated my checkout and nuked my database.  
  2. Created a new Org ID 
  3. Added Enrollment Flow
  4. Added attributes 
  5. Created Petition
  6. Filled in Form
  7. 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



Archive powered by MHonArc 2.6.16.

Top of Page