[Seaside-dev] Re: WAAdmin clearConfigurationCaches not working
Philippe Marschall
philippe.marschall at gmail.com
Sat Aug 23 17:40:16 UTC 2014
On Sat, Aug 23, 2014 at 4:15 PM, Philippe Marschall
<philippe.marschall at gmail.com> wrote:
> Hi
>
> As part of fixing Issue 820 [1] I have to change some configurations.
> I though that if I do
>
> WAAdmin clearConfigurationCaches
>
> all the configuration caches should be cleared. However that is not
> what is happening. #preferenceAt: in WAApplication instances still
> return the old value.
A good example of this is trying to remove the development toolbar.
The following should work:
WAAdmin applicationDefaults
removeParent: WADevelopmentConfiguration instance.
WAAdmin clearConfigurationCaches
but it doesn't. What you have to do in addition is open the
configuration (/config) interface on any application and click
"Configure" on "Root Decoration Classes" (without accepting or
changing anything). Then suddenly this single configuration cache is
flushed.
Cheers
Philippe
More information about the seaside-dev
mailing list