Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0010507 | Openbravo ERP | 01. General setup | public | 2009-09-07 20:45 | 2009-09-13 19:31 | |||||||
Reporter | networkb | |||||||||||
Assigned To | iperdomo | |||||||||||
Priority | urgent | Severity | major | Reproducibility | sometimes | |||||||
Status | closed | Resolution | no change required | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | 2.50MP1 | |||||||||||
Target Version | 2.50MP6 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0010507: Date parse error when scheduling process | |||||||||||
Description | Working with US date format ('MM-DD-YYYY' in Openbravo.properties) when schedule a process an error occurs parsing date format. The system is trying to convert start date from format DD-MM-YYYY to MM-DD-YYYY. It happens because the database is configured as european and "select date" queries obtain dates in european format, but the parser (in java) is configured as US format. When select method of src/org/openbravo/scheduling/trigger_data.xsql is executed the start date obtained is (DD-MM-YYYY). | |||||||||||
Steps To Reproduce | - Configure Openbravo Properties as mm-dd-yyyy - Go to General Setup || Application || Process Scheduling || Process Scheduling - Schedule one process - Press button Schedule. | |||||||||||
Proposed Solution | In src/org/openbravo/scheduling/OBScheduler.java in line 347 final TriggerData data = TriggerData.select(conn, name); add new parameter in query : dateTimeFormat. Add new parameter in xsql In src/org/openbravo/scheduling/trigger_data.xsql modifye the method: select .....TO_CHAR(STARTDATA,?) where ? is dateTimeFormat. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=1747&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=1748&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2009-09-07 20:45 | networkb | New Issue | ||||||||||
2009-09-07 20:45 | networkb | Assigned To | => rafaroda | |||||||||
2009-09-07 20:45 | networkb | OBNetwork customer | => Yes | |||||||||
2009-09-08 07:17 | iperdomo | Assigned To | rafaroda => iperdomo | |||||||||
2009-09-08 07:19 | iperdomo | Relationship added | duplicate of 0009202 | |||||||||
2009-09-08 07:19 | iperdomo | Status | new => closed | |||||||||
2009-09-08 07:19 | iperdomo | Note Added: 0019494 | ||||||||||
2009-09-08 07:19 | iperdomo | Duplicate ID | 0 => 9202 | |||||||||
2009-09-08 07:19 | iperdomo | Resolution | open => duplicate | |||||||||
2009-09-09 00:00 | anonymous | sf_bug_id | 0 => 2854709 | |||||||||
2009-09-11 21:45 | networkb | Status | closed => new | |||||||||
2009-09-11 21:45 | networkb | Resolution | duplicate => open | |||||||||
2009-09-11 21:45 | networkb | Note Added: 0019834 | ||||||||||
2009-09-11 21:47 | networkb | Target Version | 2.50MP1 => 2.50MP6 | |||||||||
2009-09-12 06:42 | rafaroda | Priority | immediate => urgent | |||||||||
2009-09-12 06:42 | rafaroda | Status | new => scheduled | |||||||||
2009-09-13 19:13 | iperdomo | File Added: schedule1.png | ||||||||||
2009-09-13 19:13 | iperdomo | File Added: schedule2.png | ||||||||||
2009-09-13 19:30 | iperdomo | Note Added: 0019865 | ||||||||||
2009-09-13 19:31 | iperdomo | Status | scheduled => closed | |||||||||
2009-09-13 19:31 | iperdomo | Duplicate ID | 9202 => 0 | |||||||||
2009-09-13 19:31 | iperdomo | Resolution | open => no change required |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|