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.