Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019331Openbravo ERPA. Platformpublic2011-12-19 12:512011-12-22 03:53
psarobe 
marvintm 
urgentmajoralways
closedfixed 
5
pi 
pi 
Core
No
0019331: Format date dd/mm/yyyy fails in P&E in return from customer
The problem is with /. If you use - instead then it works
1. Login as Openbravo/openbravo
2. Select role QA testing admin
3. Go to Return from Customer
4. Click new and select Customer A. Save
5. Click Pick/Edit Lines button
6. You will see some records
7. Select one. Notice the combo box return reasons is not filled. This is wrong

The log is:

12:39:33 [http-8080-3] ERROR org.openbravo.base.exception.OBException - Unparseable date: "2011-11-15"
java.text.ParseException: Unparseable date: "2011-11-15"
    at java.text.DateFormat.parse(DateFormat.java:337)
    at org.openbravo.client.kernel.reference.DateUIDefinition.createFromClassicString(DateUIDefinition.java:118)
    at org.openbravo.client.application.window.FormInitializationComponent.execute(FormInitializationComponent.java:181)
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:71)
    at org.openbravo.client.kernel.KernelServlet.processActionRequest(KernelServlet.java:193)
    at org.openbravo.client.kernel.KernelServlet.doGet(KernelServlet.java:104)
    at org.openbravo.client.kernel.KernelServlet.doPost(KernelServlet.java:177)
    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:443)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87)
    at org.openbravo.client.kernel.BaseKernelServlet.service(BaseKernelServlet.java:63)
    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:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:619)
No tags attached.
related to design defect 0019002 closed plujan System is not fully working with date format MM-DD-YYYY 
Issue History
2011-12-19 12:51psarobeNew Issue
2011-12-19 12:51psarobeAssigned To => marvintm
2011-12-19 12:51psarobeModules => Core
2011-12-19 12:56psarobeRelationship addedrelated to 0019002
2011-12-19 18:18hgbotCheckin
2011-12-19 18:18hgbotNote Added: 0043957
2011-12-19 18:18hgbotStatusnew => resolved
2011-12-19 18:18hgbotResolutionopen => fixed
2011-12-19 18:18hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c0a92af028ec920c27d6859d56e2710b735f4032 [^]
2011-12-19 19:09psarobeStatusresolved => closed
2011-12-19 19:09psarobeFixed in Version => pi
2011-12-22 03:53hudsonbotCheckin
2011-12-22 03:53hudsonbotNote Added: 0043997

Notes
(0043957)
hgbot   
2011-12-19 18:18   
Repository: erp/devel/pi
Changeset: c0a92af028ec920c27d6859d56e2710b735f4032
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Dec 19 18:11:55 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c0a92af028ec920c27d6859d56e2710b735f4032 [^]

Fixed issue 19331. Format the values sent to the FIC so that f.e. dates work correctly

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0043997)
hudsonbot   
2011-12-22 03:53   
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/9ac5e6f282ca [^]

Maturity status: Test