Hi team,
When browse page data loader has :session_ param, the auto dataLoadCoordinator will not work.
Please use attached demo project. Steps:
- Open
Products page.
- create a new product with name
123, NOTE: name must be 123 as it is hard coded in ProductBrowse.java
- close products page.
- reopen products page.
ER: product with name 123 should be auto loaded.
AR: need to click Refresh button to load the list.
demo project:
sedemo.zip (92.1 KB)
krivopustov
(Konstantin Krivopustov)
2
Hi Bryan,
This is a known issue: DataLoadCoordinator doesn't trigger reload if query contains a session attribute parameter · Issue #1412 · jmix-framework/jmix · GitHub
The behavior is also explained in the note here: DataLoadCoordinator :: Jmix Documentation
We’ll try to fix this issue, but I cannot promise any timeframe because we didn’t find a solution yet.
Thanks Konstantin!
It’s not an urgent issue as the workaround is very straightforward: just call dl.load() in afterShow.