Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Problem upgrading to Vaadin 7.6.x table
we use a file upload via drag&drop, and after the upload the filename is added to a BeanItemContainer, which is the ContainerDataSource of a table.
So the filename is displayed in the table as soon as the upload has finished.
With Vaadin 7.6.0, the filename is not automated published to the table. You have to interact with the ui - e.g. click a button - to see the updated table.
I build a "small" sample ui to repoduce the issue, simply run it with the Main-class.
1. vaadin.version 7.5.10 in the pom: Drag a file to the label: As soon as the upload finishes, you get an output on standardout and the filename is shown in the table,
2, change the vaadin.version to 7.6.2 (the failure also exists in 7.6.0 and in between): Drag a file to the label: As soon as the upload finishes, you get an output on standardout, but the filenam is not displayed in the table. Click the Button - the filename is displayed in the table.
Should I open a bug for this issue?
The failure also exists in 7.6.3 ...
I think its a bug, too. Maybe the upload success method is executed after the server has finshed the http request. It's working for me if I add push to the project. Without push the server can't sync the client until the client sends another request to the server (e.g. the button click event).
Thanks, I created a bug for it... https://dev.vaadin.com/ticket/19616