Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020269
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2012-04-15 07:152012-04-26 19:32
ReporterflerouxView Statuspublic 
Assigned Tonaiaramartinez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiona221f923a075
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browserGoogle Chrome
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020269: Copy lines throw WB errors

Description

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)

Steps To Reproducehit copy lines in the invoice screen and naviage to the pop up screen; the error message pops up
TagsMIR-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0047789)
naiaramartinez (developer)
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 (developer)
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 (developer)
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 (developer)
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

- Issue History
Date Modified Username Field Change
2012-04-15 07:15 fleroux New Issue
2012-04-15 07:15 fleroux Assigned To => vmromanos
2012-04-15 07:15 fleroux Web browser => Google Chrome
2012-04-15 07:15 fleroux Modules => Core
2012-04-19 17:27 mirurita Tag Attached: MIR-Reviewed
2012-04-20 12:55 naiaramartinez Assigned To vmromanos => naiaramartinez
2012-04-20 12:55 naiaramartinez Status new => scheduled
2012-04-20 12:55 naiaramartinez fix_in_branch => pi
2012-04-20 13:02 naiaramartinez Note Added: 0047789
2012-04-24 09:51 hgbot Checkin
2012-04-24 09:51 hgbot Note Added: 0047899
2012-04-24 09:51 hgbot Status scheduled => resolved
2012-04-24 09:51 hgbot Resolution open => fixed
2012-04-24 09:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a221f923a075293b3bcdf2af015d4440c46e2506 [^]
2012-04-24 09:53 mirurita Note Added: 0047900
2012-04-24 09:53 mirurita Status resolved => closed
2012-04-26 19:32 hudsonbot Checkin
2012-04-26 19:32 hudsonbot Note Added: 0048075


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker