]> source.dussan.org Git - vaadin-framework.git/commit
Table ignores Container updates while painting (#12258)
authorHenrik Paul <henrik@vaadin.com>
Tue, 20 Aug 2013 12:47:54 +0000 (15:47 +0300)
committerVaadin Code Review <review@vaadin.com>
Mon, 2 Sep 2013 11:14:14 +0000 (11:14 +0000)
commita24d391349354579a83ab2f6b50e9552fbe2566a
tree2857d39024e9c1b4b82da3b464ac4700dd4786fb
parentf7ee8fb1d2c6b6d51e03486968f3bc20e7c44b4d
Table ignores Container updates while painting (#12258)

Vaadin threw an IllegalStateException if a Container was updated while
Table was being painted. SQLContainer was known to invalidate its cached
size during a Table repaint, resulting in an ItemSetChangeEvent. This fix
has been copied over from how ComboBox handles this situation.

Change-Id: I04af71a5ea3844da245cb9e31ada4a30ff704619
server/src/com/vaadin/ui/Table.java
uitest/src/com/vaadin/tests/components/table/ContainerSizeChangeDuringTablePaint.html [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/table/ContainerSizeChangeDuringTablePaint.java [new file with mode: 0644]