IDEMPIERE-3058 Make 2Pack transaction safe / fixing a case where the packin doesn't get the error marked

This commit is contained in:
Carlos Ruiz 2017-06-29 14:32:27 +02:00
parent 20a8d8d6f0
commit 5625e27627
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class PipoDictionaryService implements IDictionaryService {
adPackageImp.setDateProcessed(new Timestamp(System.currentTimeMillis()));
adPackageImp.setP_Msg(msg);
Trx.get(trxName, false).commit();
Trx.get(trxName, false).commit(true);
if (logger.isLoggable(Level.INFO)) logger.info("commit " + trxName);
} catch (Exception e) {
adPackageImp.setP_Msg(e.getLocalizedMessage());