Menu

#7 Auto Refresh View broken

open
nobody
None
5
2008-09-15
2008-09-15
Rick Chern
No

PROBLEM:
When "Auto Refresh View" is checked in a JQuery view, the entire view becomes blank when updating of rule base takes too long.

STEPS TO REPRODUCE:

Add:
Thread.currentThread().sleep(200);
after call:
rbm.getFrontend().updateBuckets();
in: ca.ubc.jquery.api.tyruba.WorkingSetFactBase.updateRuleBaseManager()

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).

Modify any code in the working set for the selected factbase.

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.

RESULTS:
The view becomes blank.

EXPECTED RESULTS:
The view displays updated results for its queries.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.