View Full Version : [FIXED] StoreFilterField: bind and unbind receives different parameter types

8 Apr 2009, 2:57 AM

I'm not sure if this is a bug, so I'm posting here first.

I've noticed in the com.extjs.gxt.ui.client.widget.StoreFilterField that the bind method receives a Store<M> parameter, and that unbind method receives a ListStore<M> parameter. If you want to unbind the same Store object parameter that you used at binding, it will not be possible because Store can not be cast to ListStore.

public void unbind(ListStore<M> store);
public void bind(Store<M> store);

Can anyone cofirm me that this is a bug?


8 Apr 2009, 4:38 AM
Fixed in SVN.

8 Apr 2009, 5:06 AM
hello sven,

thank you for your fast reply.
i've checked the SVN and nothing changed there.

in StoreFilterField rev. 1387 its still the same, and there is no newer version in the trunk.

8 Apr 2009, 5:07 AM
It is not fixed in trunk yet but in the 1.2 release branch.

Trunk is 2.0 code.