You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After scrolling several records in the grid and then calling "getDataPovider().refreshAll" with a filter that does not return any data, the following exception is thrown: java.lang.IllegalArgumentException: length must not be negative at com.vaadin.flow.internal.Range.withLength(Range.java:131) ~[flow-server-6.0.0.alpha5.jar:6.0.0.alpha5] at com.vaadin.flow.data.provider.DataCommunicator.flush(DataCommunicator.java:1088) ~[flow-data-6.0.0.alpha5.jar:6.0.0.alpha5]`
Steps to reproduce
Run attached example.
Scroll until you see at least 500 records.
Type in the filter field "x" or any other term that does not match any record.
Vaadin 18.0.5
Vaadin 19.0.0.alpha5
After scrolling several records in the grid and then calling "getDataPovider().refreshAll" with a filter that does not return any data, the following exception is thrown:
java.lang.IllegalArgumentException: length must not be negative
at com.vaadin.flow.internal.Range.withLength(Range.java:131) ~[flow-server-6.0.0.alpha5.jar:6.0.0.alpha5]
at com.vaadin.flow.data.provider.DataCommunicator.flush(DataCommunicator.java:1088) ~[flow-data-
6.0.0.alpha5.jar:6.0.0.alpha5]`Steps to reproduce
Tested on chrome
log.txt
my-project.zip
The text was updated successfully, but these errors were encountered: