wcx6298 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

A ListGridField using OptionDataSource causes problems after invalidateCache #359

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build
2. Run
3. Click the "Do Bug" button

What is the expected output? What do you see instead?
The server gets pelted with fetches.
Only one fetch is needed.

What version of the product are you using? On what operating system?
Fails with 1.3 Release as well as 1.3-815 and 1.3-827
GWT 1.7.1 and 2.0M2
Netbeans 6.7.1 w/ GWT4NB 2.6.9 or Eclipse 3.5.1 or 3.6M3
OS X 10.5.8 w/ SecUpd2009-006
GWT hosted browser, Safari 4.0.3, Firefox 3.5.2

Please provide any additional information below.
Set a breakpoint in the get() method of ResultSet.js and you will quickly
see what is happening. The grid calls getValueMap() which loops up to
getLength(), but getLength() returns 1000 right after the invalidate.

And, I'm not smart enough to see how to fix it.

Original issue reported on code.google.com by gary.fue...@gmail.com on 11 Nov 2009 at 8:12

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in SVN.

Original comment by sanjiv.j...@gmail.com on 27 Feb 2010 at 9:17