Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0032236Openbravo ERP01. General setuppublic2016-02-15 17:112018-01-03 12:38
ngarcia 
platform 
highminoralways
closedfixed 
5
 
3.0PR18Q1 
alostale
Core
No
0032236: Process Monitor Duration field shows wrong data if the process lasts more than 24 hours
Process Monitor Duration field shows wrong data if the process lasts more than 24 hours
If a process takes more than 24 hours only the hours that exceed a day are shown. For example:

Start Time: '2016-02-12 16:21:06.639364'
End Time: '2016-02-15 16:17:45.075621'

Duration: '23:56:38.429'. It should be '71:56:38.429'
No tags attached.
has duplicate defect 0032500 closed platform incorrect duration in process monitor for times bigger than 1 day 
diff 32236.diff (1,894) 2017-09-28 18:58
https://issues.openbravo.com/file_download.php?file_id=11123&type=bug
Issue History
2016-02-15 17:11ngarciaNew Issue
2016-02-15 17:11ngarciaAssigned To => Triage Finance
2016-02-15 17:11ngarciaModules => Core
2016-02-15 17:11ngarciaTriggers an Emergency Pack => No
2016-02-15 17:12ngarciaIssue Monitored: networkb
2016-03-17 14:56ngarciaRelationship addedhas duplicate 0032500
2016-11-29 16:12alekosmp86Assigned ToTriage Finance => alekosmp86
2016-11-29 16:13alekosmp86Statusnew => scheduled
2017-09-28 18:58aferrazFile Added: 32236.diff
2017-09-28 18:59aferrazStatusscheduled => acknowledged
2017-09-28 18:59aferrazStatusacknowledged => scheduled
2017-09-28 18:59aferrazStatusscheduled => feedback
2017-09-28 18:59aferrazAssigned Toalekosmp86 => platform
2017-09-28 18:59aferrazStatusfeedback => new
2017-09-28 18:59aferrazNote Added: 0099669
2017-10-17 08:54hgbotCheckin
2017-10-17 08:54hgbotNote Added: 0099923
2017-10-17 08:54hgbotStatusnew => resolved
2017-10-17 08:54hgbotResolutionopen => fixed
2017-10-17 08:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1aa34b62451b553a74ba178379b5b8bc206f9521 [^]
2017-10-17 08:54alostaleReview Assigned To => alostale
2017-10-17 08:54alostaleNote Added: 0099924
2017-10-17 08:54alostaleStatusresolved => closed
2017-10-17 08:54alostaleFixed in Version => 3.0PR18Q1
2018-01-03 12:38hudsonbotCheckin
2018-01-03 12:38hudsonbotNote Added: 0101333

Notes
(0099669)
aferraz   
2017-09-28 18:59   
Attached a possible fix.
(0099923)
hgbot   
2017-10-17 08:54   
Repository: erp/devel/pi
Changeset: 1aa34b62451b553a74ba178379b5b8bc206f9521
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Tue Nov 29 13:31:55 2016 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/1aa34b62451b553a74ba178379b5b8bc206f9521 [^]

Fixes issue 32236: Process Monitor Duration field shows wrong data

Process Monitor Duration field was showing wrong data if the process lasts more
than 24 hours. When calculating the amount of hours that a process lasted, the
formula was designed in such a way that when the hours were bigger than 24, it got
resseted to 0, so, for example, if the amount of hours were 30, it was showing
6 instead.

---
M src/org/openbravo/scheduling/ProcessMonitor.java
---
(0099924)
alostale   
2017-10-17 08:54   
reviewed + tested
(0101333)
hudsonbot   
2018-01-03 12:38   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c81e0d3cbab5 [^]
Maturity status: Test