-
Bug
-
Resolution: Fixed
-
Normal
-
6.0.1
-
None
http://zkfiddle.org/sample/d0n3kr/4-user-model-to-move-item-to-another-listbox-Multiple-prob
Reproduce steps:
Select all the click the right arrow.
Reproduciable in ZK 6.0.2 CE. (didn't test 5.0.11 )
Stacktrace:
嚴重: >>java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
>> at java.util.ArrayList.rangeCheck(ArrayList.java:604)
>> at java.util.ArrayList.get(ArrayList.java:382)
>> at org.zkoss.zul.ListModelList.getElementAt(ListModelList.java:150)
>> at org.zkoss.zul.Listbox.doSelectionChanged(Listbox.java:2591)
>> at org.zkoss.zul.Listbox.onListDataChange(Listbox.java:2533)
>> at org.zkoss.zul.Listbox.access$17(Listbox.java:2520)
>> at org.zkoss.zul.Listbox$4.onChange(Listbox.java:461)
>> at org.zkoss.zul.AbstractListModel.fireEvent(AbstractListModel.java:61)
>> at org.zkoss.zul.AbstractListModel.removeFromSelection(AbstractListModel.java:139)
>> at org.zkoss.zul.ListModelList.removePartial(ListModelList.java:350)
>> at org.zkoss.zul.ListModelList.removeAll(ListModelList.java:329)