<div dir="ltr"><font color="#330033"><font size="2"><font face="tahoma,sans-serif">Dale,<br>I didn&#39;t mean for those lines to be included in any method, but as an immediate fix for the &quot;unstable&quot; search contexts.<br>
Indeed clearing the search contexts solves the tests failures.<br></font></font></font><div style="margin: 2em 0pt;" name="sig_83fa755cf9">Cheers,<br>
Avi.</div><div class="gmail_quote">On Sat, Feb 12, 2011 at 1:24 AM, 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;">
Avi,<br>
<br>
In GemStone it is not a good idea to rely on allInstances since a repository can be quite large, so I&#39;m reluctant to put in such a method.<br>
<br>
Presumably something like the following will work:<br>
<br>
  WASystemConfiguration allSubclasses do: [ :each |<br>
    each instance<br>
        clearSearchContexts;<br>
        clearDescription ].<br>
<br>
without resorting to allInstances? In the particular case I&#39;ve seen clearing the description and search context would do the trick...<br>
<br>
Dale<div class="im"><br>
<br>
On 02/11/2011 03:02 PM, Avi Shefi wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
Dale,<br>
Please use the following for the build process:<br>
WAConfiguration allInstancesDo: [ :instance | instance<br>
clearSearchContexts ].<br>
WAConfiguration allSubInstancesDo: [ :instance | instance<br>
clearSearchContexts ].<br>
<br>
After running these the tests seem to clear.<br>
We will continue discussion on issue 643 on the issues tracker.<br>
Cheers,<br>
Avi.<br>
On Fri, Feb 11, 2011 at 11:35 PM, Dale Henrichs &lt;<a href="mailto:dhenrich@vmware.com" target="_blank">dhenrich@vmware.com</a><br></div><div><div></div><div class="h5">
&lt;mailto:<a href="mailto:dhenrich@vmware.com" target="_blank">dhenrich@vmware.com</a>&gt;&gt; wrote:<br>
<br>
    If I load latest mcz files into Pharo1.0 and run the tests they run<br>
    clean ... so the problem is strictly an upgrade problem and probably<br>
    exists on all platforms ...<br>
<br>
<br>
    Dale<br>
<br>
<br>
    On 02/11/2011 09:58 AM, Dale Henrichs wrote:<br>
<br>
        On 02/09/2011 05:49 PM, Dale Henrichs wrote:<br>
<br>
            PharoCore1.0:<br>
<br>
                 - WAHtmlFileHandlerListingTest&gt;&gt;testFileLibraries<br>
            results in a<br>
                   WAAttributeNotFound being signalled (test error).<br>
            I&#39;ll dig into this<br>
                   one a little bit more tomorrow.<br>
<br>
<br>
        I&#39;ve done a little poking around this test failure and I<br>
        discovered that<br>
        if I reach in the instance of WaConfiguration where the test was<br>
        failing<br>
        and niled out the cachedSearchContexts instance variable, all of the<br>
        tests pass from here on out ... so somewhere, somehow a bad search<br>
        context got cached ...<br>
<br>
        This makes me wonder if the problem just happened to appear in<br>
        PharoCore1.0 and is an indication of potential issues on other<br>
        platforms<br>
        ... or ... there really is something in PharoCore1.0 that is the<br>
        source<br>
        of this bug?<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></div></div>
        &lt;mailto:<a href="mailto:seaside-dev@lists.squeakfoundation.org" target="_blank">seaside-dev@lists.squeakfoundation.org</a>&gt;<div class="im"><br>
        <a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
<br>
<br>
<br>
    _______________________________________________<br>
    seaside-dev mailing list<br>
    <a href="mailto:seaside-dev@lists.squeakfoundation.org" target="_blank">seaside-dev@lists.squeakfoundation.org</a><br></div>
    &lt;mailto:<a href="mailto:seaside-dev@lists.squeakfoundation.org" target="_blank">seaside-dev@lists.squeakfoundation.org</a>&gt;<div class="im"><br>
    <a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br></div>