Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0042035
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2019-10-16 10:152019-10-25 08:02
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision94cb4900a09a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0042035: API change: make OBScheduler API simpler

DescriptionThe 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
Steps To ReproduceIn description
TagsApproved
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0041483 closedcaristu update quartz 

-  Notes
(0115224)
hgbot (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2019-10-16 10:15 caristu New Issue
2019-10-16 10:15 caristu Assigned To => platform
2019-10-16 10:15 caristu Modules => Core
2019-10-16 10:15 caristu Triggers an Emergency Pack => No
2019-10-16 10:15 caristu Relationship added related to 0041483
2019-10-18 07:37 alostale Tag Attached: Approved
2019-10-18 07:37 alostale Assigned To platform => caristu
2019-10-21 19:22 caristu Description Updated View Revisions
2019-10-21 19:22 caristu Description Updated View Revisions
2019-10-21 19:23 caristu Description Updated View Revisions
2019-10-22 16:21 hgbot Checkin
2019-10-22 16:21 hgbot Note Added: 0115224
2019-10-22 16:21 hgbot Status new => resolved
2019-10-22 16:21 hgbot Resolution open => fixed
2019-10-22 16:21 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/94cb4900a09a5b6f6d093b588b187aec8c3a58f0 [^]
2019-10-22 16:22 hgbot Checkin
2019-10-22 16:22 hgbot Note Added: 0115225
2019-10-22 16:22 caristu Review Assigned To => alostale
2019-10-25 08:02 alostale Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker