alejandro-du / crudui

Automatically generate CRUD-like Vaadin views for any Java Bean
https://vaadin.com/directory#!addon/crud-ui-add-on
Apache License 2.0
85 stars 54 forks source link

RefreshGrid and LazyFindAllCrudOperationListener listener #134

Open apklein opened 2 months ago

apklein commented 2 months ago

I found that if you use an implementation of LazyFindAllCrudOperationListener on a TreeGridCrud, then refreshGrid() calls to getGrid().setItems(dataProvider) who calls to deprecated getGenericDataView() in TreeGrid generating an exception

    throw new UnsupportedOperationException(
            "TreeGrid does not support generic data view.");
alejandro-du commented 2 weeks ago

Would this be a bug in Vaadin instead?