Actions
Task #3474
openIdentityComplexReportExecutor fails when exporting Boolean EAV attributes
Status:
Needs feedback
Priority:
Normal
Assignee:
Alena Peterová
Target version:
-
Start date:
11/07/2023
Due date:
% Done:
80%
Estimated time:
Owner:
Description
Version 4.0.0
The report Identities with complex combination with contracts attributes (identity-complex-report) fails when you try to export an EAV of type Boolean.
Caused by: java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class java.lang.String (java.lang.Boolean and java.lang.String are in module java.base of loader 'bootstrap') at eu.bcvsolutions.idm.reports.utils.impl.DefaultReportsExecutorUtils.lambda$getIdentityFormValues$0(DefaultReportsExecutorUtils.java:249) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1085) at eu.bcvsolutions.idm.reports.utils.impl.DefaultReportsExecutorUtils.getIdentityFormValues(DefaultReportsExecutorUtils.java:236) at eu.bcvsolutions.idm.reports.identity.IdentityComplexReportExecutor.generateData(IdentityComplexReportExecutor.java:221) at eu.bcvsolutions.idm.rpt.api.executor.AbstractReportExecutor.generate(AbstractReportExecutor.java:92)
Updated by Alena Peterová about 1 year ago
- Status changed from New to Needs feedback
- Assignee set to Alena Peterová
- % Done changed from 0 to 80
Fixed in commit https://git.bcvsolutions.eu/modules/reports/-/commit/53d5f491a67d34b15ed13e5adcadb1b614ec954f in the branch apeterova/3474-fix-identity-complex-report-with-eav-values. Covered by integration tests.
Actions