Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] help with Heisenberg bug

Subject: COmanage Developers List

List archive

Re: [comanage-dev] help with Heisenberg bug


Chronological Thread 
  • From: Scott Koranda <>
  • To: Benn Oshrin <>
  • Cc:
  • Subject: Re: [comanage-dev] help with Heisenberg bug
  • Date: Wed, 12 Oct 2011 10:57:34 -0500

> On 10/12/11 11:30 AM, Scott Koranda wrote:
>
> >It does now. Changing the log level causes the cache to be
> >thrown away and recreated. Once that is done the cm_users view
> >is available inside the cache.
>
> Since cm_users is created manually, I'm not surprised the cache is
> invalid. I wouldn't object to clearing the cache as part of 'cake
> setup', as long as we document why we're doing it.

It is odd, though, that the exact same code in setup.php when
executed with MySQL as the backend does not cause any changes
to the cache.

There must be some ugly branches in the caching code that do
different things for different backends. I hope we don't have
to go look at it...

Scott

>
> I guess considering the other bad-cache issue (CO-171), perhaps we
> should contemplate just turning off caching entirely. I'm still
> leaning towards documented workarounds to clear the cache in
> appropriate places, though. Perhaps add a clear_cache() function to
> utils.php and call it from setup and wherever is appropriate for
> CO-171?
>
> You should put this issue in JIRA and relate it to 171.
>
> -Benn-



Archive powered by MHonArc 2.6.16.

Top of Page