dataLoadCoordinator not work when DL has session param

Hi team,

When browse page data loader has :session_ param, the auto dataLoadCoordinator will not work.

Please use attached demo project. Steps:

  1. Open Products page.
  2. create a new product with name 123, NOTE: name must be 123 as it is hard coded in ProductBrowse.java
  3. close products page.
  4. 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)

Hi Bryan,

This is a known issue: DataLoadCoordinator doesn't trigger reload if a query contains a single 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.