details:   https://code.openbravo.com/erp/devel/pi/rev/709ae0d64712
changeset: 26651:709ae0d64712
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Tue May 19 10:47:47 2015 +0200
summary:   related to issue 29751: fixed success status when executing bg 
processes

  When a background process finsished successfully its status was incorrectly
  set to error instead of success

diffstat:

 src/org/openbravo/scheduling/ProcessMonitor.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 20d6ecc46e19 -r 709ae0d64712 
src/org/openbravo/scheduling/ProcessMonitor.java
--- a/src/org/openbravo/scheduling/ProcessMonitor.java  Mon May 18 23:31:48 
2015 +0000
+++ b/src/org/openbravo/scheduling/ProcessMonitor.java  Tue May 19 10:47:47 
2015 +0200
@@ -165,7 +165,7 @@
       } else if (jobInstance instanceof DefaultJob && ((DefaultJob) 
jobInstance).isKilled()) {
         executionStatus = KILLED;
       } else {
-        executionStatus = ERROR;
+        executionStatus = SUCCESS;
       }
 
       ProcessRunData.update(getConnection(), ctx.getUser(), executionStatus,

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to