Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] fix for CO-241 and possibly other?

Subject: COmanage Developers List

List archive

Re: [comanage-dev] fix for CO-241 and possibly other?


Chronological Thread 
  • From: Benn Oshrin <>
  • To:
  • Subject: Re: [comanage-dev] fix for CO-241 and possibly other?
  • Date: Thu, 16 Feb 2012 14:25:42 -0500

I think we're asynchronously replying to threads, but yes, you are correct.

On 2/16/12 2:22 PM, Scott Koranda wrote:
Hi,

CO-241 is one of the bugs we saw in MySQL but not in
PostgreSQL.

The fix is to change line 61 of
app/Controller/MVPAController.php

$model->loadModel('Co');

to instead be

$this->loadModel('Co');

Benn can you confirm that is what you meant to write?

I think the current version of that line essentially caused a
no-op in PostgreSQL and it just shrugged it off but MySQL took
it personally and threw the error.

If that is indeed what you intended to write then line 76
probably needs to be changed from

$model->unloadModel('Co');

to

$this->unloadModel('Co');

If I am incorrect and you really mean to call

$model->loadModel('Co');

let me know and I will dig deeper.

Thanks,

Scott




Archive powered by MHonArc 2.6.16.

Top of Page