-
Bug
-
Resolution: Fixed
-
Normal
-
6.0.2
-
Ubuntu 12.04LTS, Indigo Service Release 2, Java 1.7.0.7, Firefox 16.0.1, ZK release 6.0.2
-
None
In the class org.zkoss.zul.ListModelList.java
an error occurs, if in a multiple selection
e.g. the last two entries were removed from
the model. Error Window says: size 2 index 2
ArrayOutOfBoundException
Method ZK implementation:
public E remove(int index) {
E ret = _list.remove(index);
removeFromSelection(ret);
fireEvent(ListDataEvent.INTERVAL_REMOVED, index, index);
return ret;
}
With our implementation it works:
@Override
public E remove( int index )
Is this bug fixed in a higher version or still open? Thank you for your help.
Kind regards
Stephan