Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0019455 | Openbravo ERP | A. Platform | public | 2012-01-10 18:27 | 2012-01-14 21:21 | ||||||||||||||
| Reporter | marvintm | ||||||||||||||||||
| Assigned To | marvintm | ||||||||||||||||||
| Priority | immediate | Severity | major | Reproducibility | have not tried | ||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||
| Product Version | |||||||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||||||
| Merge Request Status | |||||||||||||||||||
| Review Assigned To | |||||||||||||||||||
| 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 | 0019455: The process scheduling fails after some time if using a different date format | ||||||||||||||||||
| Description | If a different date format is defined in the Openbravo.properties file, the scheduling process fails after some time. This can be noticed when starting Tomcat because the following exception is shown: ERROR org.openbravo.scheduling.OBScheduler - Error scheduling process: The trigger information you have entered is invalid. Details: Unparseable date: "12/14/2011 05:12:49" javax.servlet.ServletException: The trigger information you have entered is invalid. Details: Unparseable date: "12/14/2011 05:12:49" at org.openbravo.scheduling.OBScheduler$TriggerProvider.newInstance(OBScheduler.java:488) at org.openbravo.scheduling.OBScheduler$TriggerProvider.access$0(OBScheduler.java:350) at org.openbravo.scheduling.OBScheduler.schedule(OBScheduler.java:190) at org.openbravo.scheduling.OBScheduler.schedule(OBScheduler.java:165) at org.openbravo.scheduling.OBScheduler.initialize(OBScheduler.java:257) at org.openbravo.base.OBSchedulerInitializerListener.contextInitialized(OBSchedulerInitializerListener.java:114) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) This exception is only raised when a process request of type "scheduled" has already been scheduled once, and therefore has a "next fire time" value. | ||||||||||||||||||
| Steps To Reproduce | - Change the dateTime format in Openbravo.properties to something different (for example "MM/dd/yyyy HH\:mm\:ss") and compile the application. - Add a process request with type "scheduled" and verify that it is scheduled correctly at least once. - Restart tomcat. The exception should appear. | ||||||||||||||||||
| Proposed Solution | |||||||||||||||||||
| Additional Information | |||||||||||||||||||
| Tags | Regression | ||||||||||||||||||
| Relationships |
| ||||||||||||||||||
| Attached Files | |||||||||||||||||||
| Issue History | |||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||
| 2012-01-10 18:27 | marvintm | New Issue | |||||||||||||||||
| 2012-01-10 18:27 | marvintm | Assigned To | => alostale | ||||||||||||||||
| 2012-01-10 18:27 | marvintm | Modules | => Core | ||||||||||||||||
| 2012-01-10 18:27 | marvintm | OBNetwork customer | => No | ||||||||||||||||
| 2012-01-10 18:27 | marvintm | Assigned To | alostale => marvintm | ||||||||||||||||
| 2012-01-10 18:34 | marvintm | Relationship added | blocks 0019002 | ||||||||||||||||
| 2012-01-10 18:34 | marvintm | Relationship added | related to 0019228 | ||||||||||||||||
| 2012-01-10 18:41 | hgbot | Checkin | |||||||||||||||||
| 2012-01-10 18:41 | hgbot | Note Added: 0044215 | |||||||||||||||||
| 2012-01-10 18:41 | hgbot | Status | new => resolved | ||||||||||||||||
| 2012-01-10 18:41 | hgbot | Resolution | open => fixed | ||||||||||||||||
| 2012-01-10 18:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ad9032d6e574ae53fc7dc722d6de54770d61c2c4 [^] | ||||||||||||||||
| 2012-01-10 18:45 | iperdomo | Tag Attached: Regression | |||||||||||||||||
| 2012-01-10 22:53 | shuehner | Issue Monitored: shuehner | |||||||||||||||||
| 2012-01-11 19:01 | iperdomo | Note Added: 0044279 | |||||||||||||||||
| 2012-01-11 19:01 | iperdomo | Status | resolved => closed | ||||||||||||||||
| 2012-01-14 21:21 | hudsonbot | Checkin | |||||||||||||||||
| 2012-01-14 21:21 | hudsonbot | Note Added: 0044364 | |||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||