IDEMPIERE-3058 Make 2Pack transaction safe / fixing a case where the packin doesn't get the error marked
This commit is contained in:
parent
20a8d8d6f0
commit
5625e27627
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue