]> source.dussan.org Git - vaadin-framework.git/commit
Fix problem when reading a nested Design based on a GridLayout (#9092)
authorArtur <artur@vaadin.com>
Tue, 18 Apr 2017 09:53:30 +0000 (12:53 +0300)
committerHenri Sara <henri.sara@gmail.com>
Tue, 18 Apr 2017 09:53:30 +0000 (12:53 +0300)
commit9a7a03b2f9992b573b88d13125122458b00e99d9
tree37be165e29fc441b119ae4d5d601606a0d8260e8
parent695ae21edbe477aae501fa137b33b143c49594c7
Fix problem when reading a nested Design based on a GridLayout (#9092)

The parent Design must leave child handling to the nested design, when
there are no children defined in the parent Design. This fixes a problem
with com.vaadin.ui.GridLayout$OutOfBoundsException when the reading
operation of the parent design tries to set number of rows according to
its empty content.
server/src/main/java/com/vaadin/ui/GridLayout.java
server/src/test/java/com/vaadin/tests/server/component/gridlayout/GridLayoutDeclarativeTest.java
server/src/test/java/com/vaadin/tests/server/component/gridlayout/PreconfiguredGridLayout.java [new file with mode: 0644]