Thank you for reporting this bug. We will make it our priority to review this report.
Ext GWT Premium Member
[CLOSED] BeanModelReader has wrong generic type
BeanModelReader has the following signature :
however it will only ever contain BeanModel instances (or an empty list).
BeanModelReader implements DataReader<ListLoadResult<ModelData>>
It should have the signature : BeanModelReader implements DataReader<ListLoadResult<BeanModel>>
This means the following code is needed by the client :
ListLoadResult<BeanModel> dataListLoadResult = ((ListLoadResult<BeanModel>)(ListLoadResult)reader.read(null, result));
which is pretty messy.
Last edited by andrew_l; 20 Sep 2010 at 8:49 PM.
Reason: extra info
The generics on the dataloading api are overall wrong. Also we cannot change this in any minor version update.