Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0042035Openbravo ERPA. Platformpublic2019-10-16 10:152019-10-25 08:02
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
 
alostale
Core
No
0042035: API change: make OBScheduler API simpler
The following methods for scheduling a job allows to specify the job class:

- OBScheduler.schedule(java.lang.String, org.openbravo.scheduling.ProcessBundle, java.lang.Class<? extends org.quartz.Job>)
- OBScheduler.schedule(org.openbravo.scheduling.ProcessBundle, java.lang.Class<? extends org.quartz.Job>)

This does not make sense as the only job class used in core is DefaultJob and it does not exists any external class making use of those methods. Therefore this API can be limited to always use DefaultJob.

Besides:

- Method OBScheduler.schedule(java.lang.String, org.openbravo.scheduling.ProcessBundle) will no longer throw javax.servlet.ServletException as we are making use of a new dedicated TriggerGenerationException to handle trigger generation errors. This exception inherits from SchedulerException which was already being thrown by this method.
- Method OBScheduler.format(java.util.Date) can also be removed as it is not used by other components.
- AD_MESSAGE "TRIG_INVALID_DATA" is no longer needed
In description
Approved
related to feature request 0041483 closed caristu update quartz 
Issue History
2019-10-16 10:15caristuNew Issue
2019-10-16 10:15caristuAssigned To => platform
2019-10-16 10:15caristuModules => Core
2019-10-16 10:15caristuTriggers an Emergency Pack => No
2019-10-16 10:15caristuRelationship addedrelated to 0041483
2019-10-18 07:37alostaleTag Attached: Approved
2019-10-18 07:37alostaleAssigned Toplatform => caristu
2019-10-21 19:22caristuDescription Updatedbug_revision_view_page.php?rev_id=19532#r19532
2019-10-21 19:22caristuDescription Updatedbug_revision_view_page.php?rev_id=19533#r19533
2019-10-21 19:23caristuDescription Updatedbug_revision_view_page.php?rev_id=19534#r19534
2019-10-22 16:21hgbotCheckin
2019-10-22 16:21hgbotNote Added: 0115224
2019-10-22 16:21hgbotStatusnew => resolved
2019-10-22 16:21hgbotResolutionopen => fixed
2019-10-22 16:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/94cb4900a09a5b6f6d093b588b187aec8c3a58f0 [^]
2019-10-22 16:22hgbotCheckin
2019-10-22 16:22hgbotNote Added: 0115225
2019-10-22 16:22caristuReview Assigned To => alostale
2019-10-25 08:02alostaleStatusresolved => closed

Notes
(0115224)
hgbot   
2019-10-22 16:21   
Repository: erp/devel/api-checks
Changeset: 94cb4900a09a5b6f6d093b588b187aec8c3a58f0
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Oct 22 16:17:29 2019 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/94cb4900a09a5b6f6d093b588b187aec8c3a58f0 [^]

fixes issue 42035: simplified OBScheduler API

---
M java/reference/java.japi.gz
---
(0115225)
hgbot   
2019-10-22 16:22   
Repository: erp/devel/api-checks
Changeset: 7d7ea8695c418f5812460a01ad6296eff10e4b3b
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Oct 22 16:18:24 2019 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/7d7ea8695c418f5812460a01ad6296eff10e4b3b [^]

related to issue 42035: removed unused TRIG_INVALID_DATA AD_MESSAGE

---
M model/src-db/database/sourcedata/AD_MESSAGE.xml
---