Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020269Openbravo ERP07. Sales managementpublic2012-04-15 07:152012-04-26 19:32
fleroux 
naiaramartinez 
normalminoralways
closedfixed 
20Community Appliance
 
 
Google Chrome
Core
No
0020269: Copy lines throw WB errors


3398656 [http-8080-7] ERROR org.openbravo.erpCommon.info.Invoice - Error in print page data: javax.servlet.ServletException: @CODE=0@ERROR: @NoConversionRate@ (USD-$) @to@ (ALL-L) @ForDate@ '15-04-2012', @Client@ 'frankie1' @And@ @ACCS_AD_ORG_ID_D@ '*'.
  Where: PL/pgSQL function "c_base_convert" line 47 at RETURN
javax.servlet.ServletException: @CODE=0@ERROR: @NoConversionRate@ (USD-$) @to@ (ALL-L) @ForDate@ '15-04-2012', @Client@ 'frankie1' @And@ @ACCS_AD_ORG_ID_D@ '*'.
  Where: PL/pgSQL function "c_base_convert" line 47 at RETURN
    at org.openbravo.erpCommon.info.InvoiceData.select(InvoiceData.java:236)
    at org.openbravo.erpCommon.info.InvoiceData.select(InvoiceData.java:91)
    at org.openbravo.erpCommon.info.Invoice.printGridData(Invoice.java:316)
    at org.openbravo.erpCommon.info.Invoice.doPost(Invoice.java:127)
    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:459)
    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:857)
    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:680)

hit copy lines in the invoice screen and naviage to the pop up screen; the error message pops up
MIR-Reviewed
Issue History
2012-04-15 07:15flerouxNew Issue
2012-04-15 07:15flerouxAssigned To => vmromanos
2012-04-15 07:15flerouxWeb browser => Google Chrome
2012-04-15 07:15flerouxModules => Core
2012-04-19 17:27miruritaTag Attached: MIR-Reviewed
2012-04-20 12:55naiaramartinezAssigned Tovmromanos => naiaramartinez
2012-04-20 12:55naiaramartinezStatusnew => scheduled
2012-04-20 12:55naiaramartinezfix_in_branch => pi
2012-04-20 13:02naiaramartinezNote Added: 0047789
2012-04-24 09:51hgbotCheckin
2012-04-24 09:51hgbotNote Added: 0047899
2012-04-24 09:51hgbotStatusscheduled => resolved
2012-04-24 09:51hgbotResolutionopen => fixed
2012-04-24 09:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a221f923a075293b3bcdf2af015d4440c46e2506 [^]
2012-04-24 09:53miruritaNote Added: 0047900
2012-04-24 09:53miruritaStatusresolved => closed
2012-04-26 19:32hudsonbotCheckin
2012-04-26 19:32hudsonbotNote Added: 0048075

Notes
(0047789)
naiaramartinez   
2012-04-20 13:02   
Test Plan:
   Go to Price List window and select 'Fruit & Bio is Life Price List' record.
   Change the currency to ANG and save the record.

   Go to Purchase invoice.
   Create a new invoice with 'Fruit & Bio is Life, Inc.' as business partner.
   Create a new line.
   Press the button 'Copy lines'. in the popup press the invoice selector.
   Notice that another popup is opened and a correct error is shown.
(0047899)
hgbot   
2012-04-24 09:51   
Repository: erp/devel/pi
Changeset: a221f923a075293b3bcdf2af015d4440c46e2506
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Fri Apr 20 13:09:08 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a221f923a075293b3bcdf2af015d4440c46e2506 [^]

fixed bug 20269 Show the translated error even though '\n' is in the error

---
M src/org/openbravo/erpCommon/utility/ErrorTextParserPOSTGRE.java
---
(0047900)
mirurita   
2012-04-24 09:53   
code review + testing OK

".*@.+@.*" regular expression was not working in case of a line break in the message.

The regular expression . matches any character except a line terminator unless the DOTALL flag is specified.
In dotall mode, the expression . matches any character, including a line terminator.
(0048075)
hudsonbot   
2012-04-26 19:32   
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/70a717a9ffa1 [^]

Maturity status: Test