<div dir="ltr"><font color="#330033"><font size="2"><font face="tahoma,sans-serif">Quoting my comment on issue 643:<br></font></font></font><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<pre>First of all use the following as first-aid to the build process:<br>WAConfiguration allInstancesDo: [ :instance | instance clearSearchContexts ].<br>WAConfiguration allSubInstancesDo: [ :instance | instance clearSearchContexts ].<br>
</pre></blockquote>Notice that this runs on all instances and subinstances of WAConfiguration, therefore catching WAUserConfiguration too.<br><br>Again, this is an immediate fix to clear all cache. It is not intended to run regularly...<br>
<br><br>As for the fix, the options remain but nobody has replied.<br>I don&#39;t mind submitting a fix to this unless somebody thinks there&#39;s a better solution... ?<br><div style="margin: 2em 0pt;" name="sig_83fa755cf9">
Cheers,<br>
Avi.</div><div class="gmail_quote">On Tue, Feb 15, 2011 at 8:22 PM, Dale Henrichs <span dir="ltr">&lt;<a href="mailto:dhenrich@vmware.com">dhenrich@vmware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
For Issue 643, I ran into a case during GemStone testing yesterday where there was WAUserConfiguration with a stale cache.<br>
<br>
WAUserConfigurations _aren&#39;t_ reachable by doing the:<br>
<br>
  WASystemConfiguration allSubclasses do: [ :each |<br>
    each instance clearSearchContexts.<br>
    each instance clearDescription ].<br>
<br>
trick. I ended up doing the following to get past the problem:<br>
<br>
  WAFileHandler default: nil<br>
<br>
I consider this way too harsh, since it destroys any changes that a user may have made to the configuration ... I think that this really means that we have to have a fix for Issue 643 before finishing Seaside 3.0.4 ...<br>

<br>
In the bug report, Avi, mentions that it should be possible to do a second lookup that does not rely on the cache and it sounds to me that this is the preferable solution ...<br>
<br>
My WAConfiguration foo is not good enough to know the right answer here. I just know that Seaside users might be surprised if they upgrade their system to Seaside 3.0.4...<br>
<br>
Dale<br>
_______________________________________________<br>
seaside-dev mailing list<br>
<a href="mailto:seaside-dev@lists.squeakfoundation.org" target="_blank">seaside-dev@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
</blockquote></div><br></div>