Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0028265 | Openbravo ERP | A. Platform | public | 2014-11-24 16:32 | 2014-12-30 23:26 | |||||||
Reporter | aaroncalero | |||||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | immediate | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR15Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Coding ( Testing ) | |||||||||||
Regression date | 2014-11-18 | |||||||||||
Regression introduced in release | pi | |||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/a86294635ce386152bb473773b0c9ba45f81fa81 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0028265: Fields defined as DateTime with a default value @#Date@ don't work | |||||||||||
Description | Fields defined as DateTime with a default value @#Date@ don't work. When trying to create a new record with such a field in it, an exception is raised [1] and the DateTime field is left empty. [1] Exception in eclipse console/Openbravo.log: 2014-11-24 16:15:48,079 [ajp-localhost%2F127.0.0.1-8809-3] ERROR org.openbravo.base.exception.OBException - Exception when parsing date java.text.ParseException: Unparseable date: "Mon Nov 24 16:15:48 CET 2014" at java.text.DateFormat.parse(DateFormat.java:354) at org.openbravo.client.kernel.reference.DateTimeUIDefinition.convertLocalTimeToUTC(DateTimeUIDefinition.java:72) at org.openbravo.client.kernel.reference.DateTimeUIDefinition.convertToClassicString(DateTimeUIDefinition.java:65) at org.openbravo.client.kernel.reference.UIDefinition.setNOWDefault(UIDefinition.java:287) at org.openbravo.client.kernel.reference.UIDefinition.getFieldProperties(UIDefinition.java:191) at org.openbravo.client.application.window.FormInitializationComponent.computeColumnValues(FormInitializationComponent.java:670) at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:258) at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:71) at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:294) at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:186) at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:449) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:88) at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:59) at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:168) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81) at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46) at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:450) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:399) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) at java.lang.Thread.run(Thread.java:701) | |||||||||||
Steps To Reproduce | Steps to Reproduce: Go to https://livebuilds.openbravo.com/retail_pi_pgsql [^] Login as Openbravo/openbravo Switch to White Valley Group Admin role Go to the Assortment window. Select an existing assortment, go to the Product tab and create a new record there. Check the end of the log (https://livebuilds.openbravo.com/logs/retail_pi_pgsql_openbravo.log [^]) and see the exception | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2014-11-24 16:32 | aaroncalero | New Issue | ||||||||||
2014-11-24 16:32 | aaroncalero | Assigned To | => AugustoMauch | |||||||||
2014-11-24 16:32 | aaroncalero | OBNetwork customer | => No | |||||||||
2014-11-24 16:32 | aaroncalero | Modules | => Core | |||||||||
2014-11-24 16:32 | aaroncalero | Triggers an Emergency Pack | => No | |||||||||
2014-11-24 18:27 | alostale | Regression level | => Coding ( Testing ) | |||||||||
2014-11-24 18:27 | alostale | Regression introduced in release | => pi | |||||||||
2014-11-24 18:27 | alostale | Priority | normal => immediate | |||||||||
2014-11-25 12:51 | AugustoMauch | Regression date | => 2014-11-18 | |||||||||
2014-11-25 12:51 | AugustoMauch | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/a86294635ce386152bb473773b0c9ba45f81fa81 [^] | |||||||||
2014-11-25 12:51 | AugustoMauch | Relationship added | caused by 0027628 | |||||||||
2014-11-25 15:46 | hgbot | Checkin | ||||||||||
2014-11-25 15:46 | hgbot | Note Added: 0071997 | ||||||||||
2014-11-25 15:46 | hgbot | Status | new => resolved | |||||||||
2014-11-25 15:46 | hgbot | Resolution | open => fixed | |||||||||
2014-11-25 15:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2c2841f894b42fdf358281c2d13af06452c788d6 [^] | |||||||||
2014-11-25 16:43 | AugustoMauch | Review Assigned To | => AugustoMauch | |||||||||
2014-11-25 16:43 | AugustoMauch | Note Added: 0072001 | ||||||||||
2014-11-25 16:43 | AugustoMauch | Status | resolved => closed | |||||||||
2014-11-25 16:43 | AugustoMauch | Fixed in Version | => 3.0PR15Q1 | |||||||||
2014-12-30 23:26 | hudsonbot | Checkin | ||||||||||
2014-12-30 23:26 | hudsonbot | Note Added: 0073138 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|