IDEMPIERE-5854 Error when trying to call ServerReportCtl.runJasperProcess with a process info without a transaction name (#2009)
This commit is contained in:
parent
209663d32a
commit
d665c2b051
|
@ -182,7 +182,7 @@ public class ServerReportCtl {
|
|||
|
||||
jasperProcessInfo.setParameter(jasperPrintParams.toArray(new ProcessInfoParameter[]{}));
|
||||
|
||||
ServerProcessCtl.process(jasperProcessInfo, pi != null ? Trx.get(pi.getTransactionName(),false) : null);
|
||||
ServerProcessCtl.process(jasperProcessInfo, pi != null && pi.getTransactionName() != null ? Trx.get(pi.getTransactionName(),false) : null);
|
||||
|
||||
boolean result = !jasperProcessInfo.isError();
|
||||
if (result && pi != null && pi.isBatch())
|
||||
|
|
Loading…
Reference in New Issue