comanage-dev - Re: [comanage-dev] fix for CO-241 and possibly other?
Subject: COmanage Developers List
List archive
- From: Scott Koranda <>
- To: Benn Oshrin <>
- Cc:
- Subject: Re: [comanage-dev] fix for CO-241 and possibly other?
- Date: Thu, 16 Feb 2012 13:33:09 -0600
> I think we're asynchronously replying to threads, but yes, you are correct.
Ok, I am going to commit that two-line fix and then circle
around to see which if any other issues this cleans up.
Thanks,
Scott
>
> 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
>
- [comanage-dev] fix for CO-241 and possibly other?, Scott Koranda, 02/16/2012
- Re: [comanage-dev] fix for CO-241 and possibly other?, Benn Oshrin, 02/16/2012
- Re: [comanage-dev] fix for CO-241 and possibly other?, Scott Koranda, 02/16/2012
- Re: [comanage-dev] fix for CO-241 and possibly other?, Benn Oshrin, 02/16/2012
Archive powered by MHonArc 2.6.16.