Using the latest nightly build, we've encounter a bug regarding data source changing on ListGrid.
Our scenario is as follows:
a user choose a data-source to show and a criteria to fetch with.
than we set the grid`s data-source to the chosen one, and perform a fetch with the criteria.
if the user switches the data-source more than three times, it doesn't work.
in the server logs we see that it sends the request with a different data-source id than the one chosen by the user.
In debug mode, we see that the ListGrid is set to the correct data-source and also the criteria is the right one.
There is no code to add because we simply use:
onSelection(newDS, criteria) {
grid.setDataSource(newDS)
grid.fetch(criteria)
}
Is it a known bug?
Thanks!
Our scenario is as follows:
a user choose a data-source to show and a criteria to fetch with.
than we set the grid`s data-source to the chosen one, and perform a fetch with the criteria.
if the user switches the data-source more than three times, it doesn't work.
in the server logs we see that it sends the request with a different data-source id than the one chosen by the user.
In debug mode, we see that the ListGrid is set to the correct data-source and also the criteria is the right one.
There is no code to add because we simply use:
onSelection(newDS, criteria) {
grid.setDataSource(newDS)
grid.fetch(criteria)
}
Is it a known bug?
Thanks!
Comment