Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] 0.7 / Scrum Wed

Subject: COmanage Developers List

List archive

Re: [comanage-dev] 0.7 / Scrum Wed


Chronological Thread 
  • From: Marie Huynh <>
  • To: Scott Koranda <>
  • Cc: Benn Oshrin <>, comanage-dev <>
  • Subject: Re: [comanage-dev] 0.7 / Scrum Wed
  • Date: Fri, 19 Oct 2012 02:26:31 -0500

I added the columns to my database to temporarily get around my errors.  Still can't reproduce the error Scott is seeing.

Based on the lines you pointed out to me and your errors, it looks like redirect in viewVars wasn't set somewhere and it really should have been by the time you get to this redirect function. I think this particular error will go away if you wrap this section with this if(){ } but I suspect the problem is in your merge elsewhere.

+  if(isset($this->viewVars['redirect'])) {
    $redirect = $this->viewVars['redirect'];

    // Sets tab to be opened by co_people page via jquery
    if($this->viewVars['redirect']['controller'] == 'co_people'
       || $this->viewVars['redirect']['controller'] == 'org_identities') {
      if($this->redirectTab)
        $redirect['tab'] = $this->redirectTab;
    }

    if($this->requires_person) {
      $this->set('redirect', $redirect);
      $this->redirect($redirect);
    }
+}

On Fri, Oct 19, 2012 at 2:01 AM, Marie Huynh <> wrote:
I couldn't reproduce the problem so I nuked my database.  Now I'm getting this error:

2012-10-18 23:58:18 Error: [PDOException] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'CoEnrollmentFlow.self_enroll' in 'field list'
#0 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Model/Datasource/DboSource.php(436): PDOStatement->execute(Array)
#1 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Model/Datasource/DboSource.php(403): DboSource->_execute('SELECT `CoEnrol...', Array)
#2 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Model/Datasource/DboSource.php(647): DboSource->execute('SELECT `CoEnrol...', Array, Array)
#3 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Model/Datasource/DboSource.php(1282): DboSource->fetchAll('SELECT `CoEnrol...', false)
#4 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Model/Datasource/DboSource.php(1150): DboSource->fetchAssociated(Object(Co), 'SELECT `CoEnrol...', Array)
#5 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Model/Datasource/DboSource.php(1069): DboSource->queryAssociation(Object(Co), Object(CoEnrollmentFlow), 'hasMany', 'CoEnrollmentFlo...', Array, Array, true, Array, 0, Array)
#6 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Model/Model.php(2483): DboSource->read(Object(Co), Array)
#7 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Controller/Component/PaginatorComponent.php(172): Model->find('all', Array)
#8 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Controller/Controller.php(1025): PaginatorComponent->paginate('Co', Array, Array)
#9 /Applications/MAMP/htdocs/comanage/registry/trunk/app/Controller/StandardController.php(649): Controller->paginate('Co')
#10 [internal function]: StandardController->index()
#11 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(CosController), Array)
#12 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Routing/Dispatcher.php(104): Controller->invokeAction(Object(CakeRequest))
#13 /Applications/MAMP/htdocs/comanage/registry/trunk/lib/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(CosController), Object(CakeRequest), Object(CakeResponse))
#14 /Applications/MAMP/htdocs/comanage/registry/trunk/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#15 {main}
2012-10-18 23:58:18 Error: [MissingControllerException] Controller class CssController could not be found.
#0 /Applications/MAMP/htdocs/comanage/registry/trunk/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}

Is anyone else seeing this?

On Thu, Oct 18, 2012 at 10:00 PM, Scott Koranda <> wrote:
On Thu, Oct 18, 2012 at 9:57 PM, Benn Oshrin <> wrote:
> On 10/18/12 10:50 PM, Scott Koranda wrote:
>
>> I talked with Marie and she thinks she knows what the problem
>> might be.
>
>
> Yeah, my next guess was that this is code Marie was working with.
>
>> I am concerned, however, that you have comments on those lines
>> and I do not?
>
>
> Line numbers are off because I don't have your uncommitted changes yet.
>

Ah.

So after Marie pushes a fix I will pull them, do some more "sniff"
testing, and then push my big commit.

Marie thought she would have a fix pushed tomorrow.

Thanks,

Scott





Archive powered by MHonArc 2.6.16.

Top of Page