Rollback changes, the pool connection is not working on multi tenant setup

This commit is contained in:
Victor Romero 2026-01-30 21:17:13 -06:00
parent 90a111e6b8
commit d64c810726

View File

@ -184,12 +184,11 @@ public class PentahoReportingProcessServiceImpl implements ReportingProcessServi
final var reportEnvironment = (DefaultReportEnvironment) masterReport.getReportEnvironment();
//Set Locale for the report
if(fineractPentahoLocale !=null){
// Set Locale for the report
if (fineractPentahoLocale != null) {
Locale localeReport = new Locale.Builder().setLanguageTag(fineractPentahoLocale).build();
reportEnvironment.setLocale(localeReport);
}
else if (locale != null) {
} else if (locale != null) {
reportEnvironment.setLocale(locale);
}