Skip to Content.
Sympa Menu

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

Subject: COmanage Developers List

List archive

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


Chronological Thread 
  • From: Scott Koranda <>
  • To: comanage-dev <>
  • Subject: [comanage-dev] fix for CO-241 and possibly other?
  • Date: Thu, 16 Feb 2012 13:22:12 -0600

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