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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023583
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementcriticalhave not tried2013-04-18 18:012013-04-22 16:36
ReporteregoitzView Statuspublic 
Assigned Todmiguelez 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionca3b550183cb
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023583: When the c_invoice_post the processinvoice.java should stop the execution and return inmeidatly the error

DescriptionWhen the c_invoice_post the processinvoice.java should stop the execution and return inmeidatly the error.
Right now if the process fails the processinvoice continue working causing a severe performance problem when there are a lot of rows on the FIN_Payment_ScheduleDetail table
Steps To Reproduce-On an environment with 80.000 lines on FIN_Payment_ScheduleDetail table
-Create an invoice without lines.
-Complete it
-The c_invoice_post fails but the process continue
-Then the executePayment method of the ProcessInvoice.java clases is called causing a high cpu consumption during a long time
Proposed Solution-Exit from the java class when the c_invoice_post process fails.
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0023591 closeddmiguelez In AdvPaymentMngtDao.java in executePayments(Invoice) Method,if the Invoice has no PaymentSchedule return a null List of Payment 

-  Notes
(0058057)
hgbot (developer)
2013-04-19 14:11

Repository: erp/devel/pi
Changeset: ca3b550183cbc9c2b3744571ed2c746088e68599
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Apr 19 14:10:40 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ca3b550183cbc9c2b3744571ed2c746088e68599 [^]

Fixes Issue 23583. When the C_Invoice_Post Process fails,
it returns an error message without doing more actions.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
(0058098)
Sandrahuguet (developer)
2013-04-22 16:03

Code review + testing OK
(0058101)
hudsonbot (developer)
2013-04-22 16:36

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/f78aa78542fa [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-04-18 18:01 egoitz New Issue
2013-04-18 18:01 egoitz Assigned To => dmiguelez
2013-04-18 18:01 egoitz Modules => Core
2013-04-18 18:01 egoitz Triggers an Emergency Pack => No
2013-04-18 18:01 egoitz Tag Attached: Performance
2013-04-19 14:09 dmiguelez Relationship added related to 0023591
2013-04-19 14:11 hgbot Checkin
2013-04-19 14:11 hgbot Note Added: 0058057
2013-04-19 14:11 hgbot Status new => resolved
2013-04-19 14:11 hgbot Resolution open => fixed
2013-04-19 14:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ca3b550183cbc9c2b3744571ed2c746088e68599 [^]
2013-04-22 16:03 Sandrahuguet Review Assigned To => Sandrahuguet
2013-04-22 16:03 Sandrahuguet Note Added: 0058098
2013-04-22 16:03 Sandrahuguet Status resolved => closed
2013-04-22 16:36 hudsonbot Checkin
2013-04-22 16:36 hudsonbot Note Added: 0058101


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker