Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0025481 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2014-01-15 18:52 | 2014-01-17 15:49 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR14Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 863c4e324ae1 | ||||
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 | dbaz | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 25614 | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2013-12-09 | |||||||
Regression introduced in release | ||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/41d4efa5499e3e7f0abc1db7a8d2ad053d38d319 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0025481: Errors on the openbravo log when opening a row on the process request window | |||||||
Description | When opening a row of the process request window on form view a error is raised on the openbavo log. | |||||||
Steps To Reproduce | Create a new process request on form view move to grid view and then access again to the row created. The following error appears on the log of openbravo at tomcat: 2014-01-15 18:51:13,517 [ajp-localhost%2F127.0.0.1-8809-6] ERROR org.openbravo.base.exception.OBException - Exception when handling value 2014-01-15 18:51:06.0 java.text.ParseException: Unparseable date: "2014-01-15 18:51:06.0" at java.text.DateFormat.parse(DateFormat.java:354) at org.openbravo.client.kernel.reference.TimeUIDefinition.createFromClassicString(TimeUIDefinition.java:144) at org.openbravo.client.kernel.reference.UIDefinition.getFieldProperties(UIDefinition.java:236) at org.openbravo.client.kernel.reference.TimeUIDefinition.getFieldProperties(TimeUIDefinition.java:114) at org.openbravo.client.application.window.FormInitializationComponent.computeColumnValues(FormInitializationComponent.java:612) at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:247) at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:71) at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:272) at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:168) at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:245) 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:440) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87) at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63) at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:140) 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:448) 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) 2014-01-15 18:51:13,518 [ajp-localhost%2F127.0.0.1-8809-6] ERROR org.openbravo.client.application.window.FormInitializationComponent - Couldn't get data for column Start_Time org.openbravo.base.exception.OBException: Exception when handling value 2014-01-15 18:51:06.0 at org.openbravo.client.kernel.reference.TimeUIDefinition.createFromClassicString(TimeUIDefinition.java:160) at org.openbravo.client.kernel.reference.UIDefinition.getFieldProperties(UIDefinition.java:236) at org.openbravo.client.kernel.reference.TimeUIDefinition.getFieldProperties(TimeUIDefinition.java:114) at org.openbravo.client.application.window.FormInitializationComponent.computeColumnValues(FormInitializationComponent.java:612) at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:247) at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:71) at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:272) at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:168) at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:245) 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:440) at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87) at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63) at org.openbravo.client.kernel.KernelServlet.service(KernelServlet.java:140) 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:448) 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) Caused by: java.text.ParseException: Unparseable date: "2014-01-15 18:51:06.0" at java.text.DateFormat.parse(DateFormat.java:354) at org.openbravo.client.kernel.reference.TimeUIDefinition.createFromClassicString(TimeUIDefinition.java:144) ... 43 more | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0063434) hgbot (developer) 2014-01-16 10:39 |
Repository: erp/devel/pi Changeset: 863c4e324ae11da4883a876cdd1bc28da396f0c5 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Thu Jan 16 10:37:51 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/863c4e324ae11da4883a876cdd1bc28da396f0c5 [^] Fixes issue 25481: Time fields are properly parsed When a row was being opened in view form, an error in the log was shown if a time field that was not displayed in the grid is present in the view form. This happened because in the moment when its value was being parsed it also contained the date. This has been fixed by making sure that when the time is parsed only the time part is used. --- M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/TimeUIDefinition.java --- |
(0063450) dbaz (viewer) 2014-01-16 23:40 |
Reviewed @ changeset: 21798 - d3396fd85019 |
(0063504) hudsonbot (viewer) 2014-01-17 15:49 |
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/9669102eb541 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-01-15 18:52 | egoitz | New Issue | |
2014-01-15 18:52 | egoitz | Assigned To | => AugustoMauch |
2014-01-15 18:52 | egoitz | Modules | => Core |
2014-01-15 18:52 | egoitz | OBNetwork customer | => Yes |
2014-01-15 18:52 | egoitz | Support ticket | => 25614 |
2014-01-15 18:52 | egoitz | Resolution time | => 1390431600 |
2014-01-15 18:52 | egoitz | Triggers an Emergency Pack | => No |
2014-01-15 18:53 | egoitz | Regression level | => Production - Confirmed Stable |
2014-01-15 18:53 | egoitz | Regression date | => 2013-12-09 |
2014-01-15 18:53 | egoitz | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/41d4efa5499e3e7f0abc1db7a8d2ad053d38d319 [^] |
2014-01-16 10:38 | AugustoMauch | Issue Monitored: dbaz | |
2014-01-16 10:38 | AugustoMauch | Review Assigned To | => dbaz |
2014-01-16 10:39 | hgbot | Checkin | |
2014-01-16 10:39 | hgbot | Note Added: 0063434 | |
2014-01-16 10:39 | hgbot | Status | new => resolved |
2014-01-16 10:39 | hgbot | Resolution | open => fixed |
2014-01-16 10:39 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/863c4e324ae11da4883a876cdd1bc28da396f0c5 [^] |
2014-01-16 13:49 | priyam | Issue Monitored: priyam | |
2014-01-16 23:40 | dbaz | Note Added: 0063450 | |
2014-01-16 23:40 | dbaz | Status | resolved => closed |
2014-01-16 23:40 | dbaz | Fixed in Version | => 3.0MP32 |
2014-01-17 15:49 | hudsonbot | Checkin | |
2014-01-17 15:49 | hudsonbot | Note Added: 0063504 |
Copyright © 2000 - 2009 MantisBT Group |