-
Bug
-
Resolution: Cannot Reproduce
-
Normal
-
None
-
6.0.0, 5.0.11
-
Chrome 18.0.1025.168
http://zkfiddle.org/sample/b9isjp/8-Selection-Error-on-Listbox-with-Paging
- Select an item on page 1
- Switch to page 2 and shift-select an item
Here we see the first error, the items inbetween are not selected correctly - Switch back to page one -> ArrayIndexOutOfBoundsException (this does not occur in ZK 6 apparently)
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(ArrayList.java:324)
at org.zkoss.zul.ListModelList.getElementAt(ListModelList.java:142)
at org.zkoss.zul.Listbox.service(Listbox.java:3385)
at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:691)
at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1123)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:457)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:465)
...