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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010890
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-10-07 11:282009-10-23 00:00
ReportervmromanosView Statuspublic 
Assigned Toshuehner 
PriorityurgentResolutionduplicateFixed in Version2.50MP7
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04Database versionXEAnt version1.7.0
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010890: Invoice selector does not work for new clients

DescriptionThe invoice selector shows no invoices, so features like "Copy lines" inside the Invoice window does not work.

Note: the selector is not working for new created clients, but in SmallBazaar is working fine.
Steps To Reproduce1- Create a new client through the Initial Client Setup. Change to new created client
2- Create a new legal entity without accounting organization and set as ready
3- Create some products and business partners
4- Create an invoice and complete it
5- Create a new invoice header. Press the Copy lines button and try to search previous invoice. No invoices are found (the grid is empty)
Proposed SolutionIt seems to be something related with UUIDs, but I haven't checked the code
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0010747 closedharikrishnan The ad_clientinfo.C_AcctSchema1_ID column is not filled when executing a initial client setup 

-  Notes
(0020839)
shuehner (administrator)
2009-10-07 13:11

StackTrace of exception shown in log

653074 [http-9080-Processor24] ERROR org.openbravo.erpCommon.info.Invoice - Error captured:
java.lang.NumberFormatException
    at java.math.BigDecimal.<init>(BigDecimal.java:530)
    at java.math.BigDecimal.<init>(BigDecimal.java:724)
    at org.openbravo.erpCommon.info.Invoice.printGridData(Invoice.java:353)
    at org.openbravo.erpCommon.info.Invoice.doPost(Invoice.java:125)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:224)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:340)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:79)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:93)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:619)
(0020840)
shuehner (administrator)
2009-10-07 13:12

Unrelated to uuid, but could be fallout from the NumberFormat project. Problem is that convertedamount="" and new BigDecimal fails on an empty String.
(0021344)
shuehner (administrator)
2009-10-22 16:52

Duplicate because of 10747 the currency conversion function returned an invalid value (null) which caused this problem.

- Issue History
Date Modified Username Field Change
2009-10-07 11:28 vmromanos New Issue
2009-10-07 11:28 vmromanos Assigned To => shuehner
2009-10-07 13:11 shuehner Note Added: 0020839
2009-10-07 13:12 shuehner Note Added: 0020840
2009-10-09 13:45 psarobe Status new => scheduled
2009-10-09 13:45 psarobe fix_in_branch => pi
2009-10-09 13:45 psarobe Priority normal => urgent
2009-10-09 13:45 psarobe Fixed in Version => 2.50MP7
2009-10-09 13:45 psarobe fix_in_branch pi =>
2009-10-22 16:52 shuehner Relationship added duplicate of 0010747
2009-10-22 16:52 shuehner Status scheduled => closed
2009-10-22 16:52 shuehner Note Added: 0021344
2009-10-22 16:52 shuehner Duplicate ID 0 => 10747
2009-10-22 16:52 shuehner Resolution open => duplicate
2009-10-23 00:00 anonymous sf_bug_id 0 => 2884255


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker