Aggregation problem on generated columns

Hello,

I have encountered an issue while I was trying to aggregate a few generated columns in a group table.
The two code snippets below don’t have any effect.

childrenTable.getColumn("name").setAggregation(info);

childrenTable.addGeneratedColumn("something", entity -> null); 
childrenTable.getColumn("something").setAggregation(info);

This is how info object was setup:

AggregationInfo info = new AggregationInfo();
info.setStrategy(new AggStart());

While testing I have tried to only add it in the xml file where it was working:

<column id="name">
      <aggregation strategyClass="com.example.util.AggStart"/>
</column>

We are on version 1.2.3

Any suggestion on how I could add aggregation on generated columns?

Hi,

Have you tried it on the latest Jmix version? There were fixes in 1.3 version.

Gleb