Report 1.6.1 bug for band based on Set property

Since 1.6.1 I get a bug in my report generation

An error occurred while loading data for band [stakeholders] and query [Dataset]. Report name [Courrier de dossier d'instructions]
class org.eclipse.persistence.indirection.IndirectSet cannot be cast to class java.util.List (org.eclipse.persistence.indirection.IndirectSet is in unnamed module of loader 'app'; java.util.List is in module java.base of loader 'bootstrap')

With the property

    @Composition
    @OnDelete(DeletePolicy.CASCADE)
    @OneToMany(mappedBy = "parentFieldCase", cascade = [CascadeType.MERGE])
    var stakeholders: MutableSet<InspectionCaseStakeholder> = NotInstantiatedSet()

I think in Report editor should support loading fetchPlans for custom list prope… · jmix-framework/jmix@65c026d · GitHub
there is the line

List<Entity> nestedCollection = EntityValues.getValueEx(entity, nestedCollectionName);

but it’s not always a List…

Hi, @b.vallettedosia
Thanks for reporting a problem. Related GitHub issue has been created.

Regards,
Maria.