Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012725Openbravo ERP01. General setuppublic2010-03-18 13:252010-05-18 21:44
networkb 
iperdomo 
normalminoralways
closedfixed 
5
2.50MP13 
2.50MP17 
Core
No
0012725: Process are executed more than once when monthly is executed and a start time
If a process is scheduled. monthly, with an specific date and starting date, and tomcat is restarted, the process is executed again.
Go to General Setup || Process Scheduling || Process Request.
Create a new record.
Select Alert Process; "Schedule" as Timing; "Monthly" as Frecuency; "Specific Date" as Monthly option; today, as Day in Month; an specific hour in Start Date.
Press Schedule process.
Go to General Setup || Process Scheduling || Process Monitor.
See that the process is executed.
Restart tomcat (wait for 5 minutes)
Login the application
Go to General Setup || Process Scheduling || Process Monitor.
No tags attached.
Issue History
2010-03-18 13:25networkbNew Issue
2010-03-18 13:25networkbAssigned To => adrianromero
2010-03-31 17:00adrianromeroAssigned Toadrianromero => iperdomo
2010-03-31 17:00adrianromeroStatusnew => scheduled
2010-05-11 18:19jpabloaeTarget Version2.50MP16 => 2.50MP17
2010-05-14 13:11hgbotCheckin
2010-05-14 13:11hgbotNote Added: 0027250
2010-05-14 13:11hgbotStatusscheduled => resolved
2010-05-14 13:11hgbotResolutionopen => fixed
2010-05-14 13:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/eafcd1b75c301df2610cec2ea4b9c0e354961cdd [^]
2010-05-15 19:31sureshbabuNote Added: 0027336
2010-05-15 19:31sureshbabuStatusresolved => closed
2010-05-16 00:00anonymoussf_bug_id0 => 3002196
2010-05-18 21:44hudsonbotCheckin
2010-05-18 21:44hudsonbotNote Added: 0027530

Notes
(0027250)
hgbot   
2010-05-14 13:11   
Repository: erp/devel/pi
Changeset: eafcd1b75c301df2610cec2ea4b9c0e354961cdd
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri May 14 13:09:13 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eafcd1b75c301df2610cec2ea4b9c0e354961cdd [^]

Fixes issue 12725: Use next fire time to set start date
The next fire time is stored in the database, when starting the
context, if next_fire_time is present use that value to set the
startdate of the trigger, if not, will scheduled for the past and
the trigger is launched.

---
M src/org/openbravo/scheduling/OBScheduler.java
M src/org/openbravo/scheduling/Trigger_data.xsql
---
(0027336)
sureshbabu   
2010-05-15 19:31   
verified
(0027530)
hudsonbot   
2010-05-18 21:44   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/eafcd1b75c30 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]