Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038437Openbravo ERPA. Platformpublic2018-04-24 14:022018-05-09 19:29
ucarrion 
jarmendariz 
highmajoralways
closedfixed 
5
 
3.0PR18Q3 
caristu
Core
No
0038437: Scheduled proccess request launchs one repetition more than requested
Scheduled proccess request launchs one repetition more than requested
+ Log in backend
+ Navigate to “Process Request” window
+ Create a new record
+ Process ‘Alert Process’
+ Timming ‘Schedule’
+ Start date: current
+ Start time: 2 minutes later
+ Frecuency: 01 – Every n seconds
+ Interval in seconds: 20
+ Repetitions: 3
+ Finishes checkbox: unselected
+ Schedule process
+ In the popup, press close
+ Wait for 2 minutes aprox.
+ Refresh process monitor tab
No tags attached.
Issue History
2018-04-24 14:02ucarrionNew Issue
2018-04-24 14:02ucarrionAssigned To => platform
2018-04-24 14:02ucarrionModules => Core
2018-04-24 14:02ucarrionResolution time => 1525730400
2018-04-24 14:02ucarrionTriggers an Emergency Pack => No
2018-04-25 13:03jarmendarizStatusnew => scheduled
2018-04-25 13:03jarmendarizAssigned Toplatform => jarmendariz
2018-04-26 09:45hgbotCheckin
2018-04-26 09:45hgbotNote Added: 0104087
2018-04-26 09:45hgbotStatusscheduled => resolved
2018-04-26 09:45hgbotResolutionopen => fixed
2018-04-26 09:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7b899caa2ef2cc40404c86975dc143a1fdabff57 [^]
2018-04-26 09:50jarmendarizNote Added: 0104088
2018-04-26 09:51jarmendarizReview Assigned To => caristu
2018-04-27 10:51hgbotCheckin
2018-04-27 10:51hgbotNote Added: 0104152
2018-04-27 10:52hgbotCheckin
2018-04-27 10:52hgbotNote Added: 0104153
2018-04-27 12:15caristuNote Added: 0104156
2018-04-27 12:15caristuStatusresolved => closed
2018-04-27 12:15caristuFixed in Version => 3.0PR18Q3
2018-05-09 19:29hudsonbotCheckin
2018-05-09 19:29hudsonbotNote Added: 0104400
2018-05-09 19:29hudsonbotCheckin
2018-05-09 19:29hudsonbotNote Added: 0104410

Notes
(0104087)
hgbot   
2018-04-26 09:45   
Repository: erp/devel/pi
Changeset: 7b899caa2ef2cc40404c86975dc143a1fdabff57
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Thu Apr 26 09:24:04 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7b899caa2ef2cc40404c86975dc143a1fdabff57 [^]

Fixes issue 38437: Scheduled process launches one repetition more than expected.

Improved description of repetition fields to express clearly the meaning of this
value. N repetitions means that the job will be executed N+1 times.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0104088)
jarmendariz   
2018-04-26 09:50   
According to the documentation of Quartz scheduler, this behavior is the expected:

http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/tutorial-lesson-05.html [^]

Using a "num repetitions" value of 3, process should be scheduled the first time and then it will be repeated 3 more times giving a total of 4 executions.
(0104152)
hgbot   
2018-04-27 10:51   
Repository: erp/pmods/org.openbravo.utility.zoho
Changeset: bff0d2d3990ff1f47c52e944ae097d502661108b
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Apr 27 10:40:22 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.zoho/rev/bff0d2d3990ff1f47c52e944ae097d502661108b [^]

Related to issue 38437: Scheduled process launches on more time than expected.

Updated number of repetitions fields description and help text.

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0104153)
hgbot   
2018-04-27 10:52   
Repository: erp/devel/pi
Changeset: bc87a9f043b8ef2f6c8facc67f0d64e6f0f5afb0
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Apr 27 09:53:25 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bc87a9f043b8ef2f6c8facc67f0d64e6f0f5afb0 [^]

Related to issue 38437: Scheduled process launches one time more than expected.

Improved description and help text to make fields intention clearer.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0104156)
caristu   
2018-04-27 12:15   
Reviewed
(0104400)
hudsonbot   
2018-05-09 19:29   
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/2be7d3efe606 [^]
Maturity status: Test
(0104410)
hudsonbot   
2018-05-09 19:29   
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/2be7d3efe606 [^]
Maturity status: Test