<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 7: Auto Refresh View broken</title><link href="https://sourceforge.net/p/jquery/bugs/7/" rel="alternate"/><link href="https://sourceforge.net/p/jquery/bugs/7/feed.atom" rel="self"/><id>https://sourceforge.net/p/jquery/bugs/7/</id><updated>2008-09-15T23:33:24Z</updated><subtitle>Recent changes to 7: Auto Refresh View broken</subtitle><entry><title>Auto Refresh View broken</title><link href="https://sourceforge.net/p/jquery/bugs/7/" rel="alternate"/><published>2008-09-15T23:33:24Z</published><updated>2008-09-15T23:33:24Z</updated><author><name>Rick Chern</name><uri>https://sourceforge.net/u/rchern2/</uri></author><id>https://sourceforge.netcf3bba11eb60d0a9780924b349c6062e0fb6cd2b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;PROBLEM:&lt;br /&gt;
When "Auto Refresh View" is checked in a JQuery view, the entire view becomes blank when updating of rule base takes too long.&lt;/p&gt;
&lt;p&gt;STEPS TO REPRODUCE:&lt;/p&gt;
&lt;p&gt;Add: &lt;br /&gt;
Thread.currentThread().sleep(200);&lt;br /&gt;
after call: &lt;br /&gt;
rbm.getFrontend().updateBuckets();&lt;br /&gt;
in: ca.ubc.jquery.api.tyruba.WorkingSetFactBase.updateRuleBaseManager()&lt;/p&gt;
&lt;p&gt;Create a new JQuery view and ensure that "Auto Refresh View" is checked for the view (in menu from upside-down arrow at top-right corner of view).&lt;/p&gt;
&lt;p&gt;Modify any code in the working set for the selected factbase.&lt;/p&gt;
&lt;p&gt;Note: This bug seems to occur when updating of buckets takes more than about 150ms. The added code to sleep the thread is to demonstrate the bug more consistently.&lt;/p&gt;
&lt;p&gt;RESULTS:&lt;br /&gt;
The view becomes blank.&lt;/p&gt;
&lt;p&gt;EXPECTED RESULTS:&lt;br /&gt;
The view displays updated results for its queries.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>