Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0039564 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | have not tried | 2018-10-30 10:26 | 2019-12-12 23:01 | |||
| Reporter | alostale | View Status | public | |||||
| Assigned To | platform | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | ||||||||
| Review Assigned To | caristu | |||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0039564: weird scheduled Process Request defaults | |||||||
| Description | When a new Process Request is created it defaults to: * Frequency -> Daily * Daily Options -> Every n days * Daily Interval -> 1 As explained in 0028003, this becomes in an hourly trigger of 24*n hours, which causes to be executed in a different hour after DST changes in server. Defaulting it to: * Frequency -> Daily * Daily Options -> <empty> would create same scheduling (to be executed everyday) but it would preserve same hour after DST server changes.  | |||||||
| Steps To Reproduce | 1. Open Process Request window 2. Create a new record 3. Set Timing to Schedule and check values * Frequency -> Daily * Daily Options -> Every n days * Daily Interval -> 1  | |||||||
| Proposed Solution | 1. Change defaults to * Frequency -> Daily * Daily Options -> <empty> 2. TBD. Should we do an exception for Every n days being n=1 to be scheduled without DST changes? Note this would affect existent scheduled processes.  | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|||||||||||||||
  | 
|||||||||||||||
  		Notes	 | 
|
| 
				(0115226) hgbot (developer) 2019-10-22 16:23  | 
	
		Repository: erp/devel/pi Changeset: e86132cc225f140aace1d481e21263d263453d3d Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Mon Oct 21 09:23:43 2019 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/e86132cc225f140aace1d481e21263d263453d3d [^] [quartz-upgrade] Tests to cover issue 39564 --- M src-test/src/org/openbravo/scheduling/trigger/TriggerProviderTest.java ---  | 
| 
				(0115231) caristu (viewer) 2019-10-22 16:33  | 
	
		After upgrading quartz to version 2.3.1 (0041483) the process request defaults (daily schedule of every n days with 1 day of interval) are not weird anymore. This is because the new implementation of that schedule[1] is no longer executed in a different hour after DST changes in server. [1] https://code.openbravo.com/erp/devel/pi/file/tip/src/org/openbravo/scheduling/trigger/DailyTriggerGenerator.java#l50 [^]  | 
| 
				(0116259) hudsonbot (viewer) 2019-12-12 23:01  | 
	
		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/954d2b7a66fb [^] Maturity status: Test  | 
  Issue History	 | 
|||
| Date Modified | Username | Field | Change | 
| 2018-10-30 10:26 | alostale | New Issue | |
| 2018-10-30 10:26 | alostale | Assigned To | => platform | 
| 2018-10-30 10:26 | alostale | OBNetwork customer | => No | 
| 2018-10-30 10:26 | alostale | Modules | => Core | 
| 2018-10-30 10:26 | alostale | Triggers an Emergency Pack | => No | 
| 2018-10-30 10:27 | alostale | Relationship added | related to 0028003 | 
| 2018-10-30 10:27 | alostale | Status | new => acknowledged | 
| 2018-10-30 10:28 | alostale | Proposed Solution updated | |
| 2019-10-09 18:02 | caristu | Relationship added | related to 0041483 | 
| 2019-10-22 16:23 | hgbot | Checkin | |
| 2019-10-22 16:23 | hgbot | Note Added: 0115226 | |
| 2019-10-22 16:31 | caristu | Status | acknowledged => scheduled | 
| 2019-10-22 16:33 | caristu | Review Assigned To | => caristu | 
| 2019-10-22 16:33 | caristu | Note Added: 0115231 | |
| 2019-10-22 16:33 | caristu | Status | scheduled => closed | 
| 2019-10-22 16:33 | caristu | Resolution | open => fixed | 
| 2019-12-12 23:01 | hudsonbot | Checkin | |
| 2019-12-12 23:01 | hudsonbot | Note Added: 0116259 | |
| Copyright © 2000 - 2009 MantisBT Group |