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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030332
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementcriticalalways2015-07-03 14:442015-07-17 15:09
ReporterdmiguelezView Statuspublic 
Assigned Todmiguelez 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionfbe4acffc34a
ProjectionnoneETAnoneTarget Version3.0PR15Q3
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2014-10-17
Regression introduced in release3.0PR15Q1
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/ea8abe653e29 [^]
Triggers an Emergency PackNo
Summary

0030332: Costing Process does not process more than 1000 Transactions even if it says so

DescriptionCosting Process does not process more than 1000 Transactions even if it says so.
It loops through the first 1000 Transactions all the time.
Steps To ReproduceHaving an environment with more than 1000 Transactions without a calculated Cost.
Launch Costing Background Process.
Enable the log through the Session Preferences Window, using the Enable Logs button and setting the class CostingBackground.java in debug mode.
In the log, it is possible to see that the process iterates more than 1000 Transactions, until the end.
If the Process is launched again, it is possible to see that only the first 1000 Transactions have been calculated based on the remaining ones.

For example, if the first time there are 5000 Transactions to calculate and the Process goes through all of them, the remaining amount for the next execution should be 0, instead it will be 4000
TagsApproved
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0030315 closeddmiguelez Costing Process does not process more than 1000 Transactions even if it says so 

-  Notes
(0078853)
hgbot (developer)
2015-07-16 11:29

Repository: erp/backports/3.0PR15Q3
Changeset: fbe4acffc34a908a6d6ca58e0fb6b3241b651887
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Jul 16 11:28:43 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/fbe4acffc34a908a6d6ca58e0fb6b3241b651887 [^]

Fixes issue 30332: BackPort from issue 30315.

---
M src/org/openbravo/costing/CostingBackground.java
M src/org/openbravo/costing/CostingServer.java
---
(0078876)
dmiguelez (developer)
2015-07-16 13:18

Code Reviewed by Gorka Ion + Testing Ok
(0078944)
hgbot (developer)
2015-07-17 15:09

Repository: erp/backports/3.0PR15Q3
Changeset: 06c15f9276a7f82d63af91eaffa6dcffb6105fb2
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Jul 17 15:04:27 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/06c15f9276a7f82d63af91eaffa6dcffb6105fb2 [^]

Related to Issue 30332: Do not take into account Transactions in Skip Status.
Remove them from the queries.
In Costing Server, set all Transactions as isProcessed=Y when they go through
doProcess() method.

---
M src/org/openbravo/costing/CostingBackground.java
M src/org/openbravo/costing/CostingServer.java
---

- Issue History
Date Modified Username Field Change
2015-07-08 11:34 vmromanos Type defect => backport
2015-07-08 11:34 vmromanos Target Version => 3.0PR15Q3
2015-07-08 11:34 vmromanos Tag Attached: Approved
2015-07-08 11:35 vmromanos Assigned To Triage Finance => dmiguelez
2015-07-16 11:29 hgbot Checkin
2015-07-16 11:29 hgbot Note Added: 0078853
2015-07-16 11:29 hgbot Status scheduled => resolved
2015-07-16 11:29 hgbot Resolution open => fixed
2015-07-16 11:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q3/rev/fbe4acffc34a908a6d6ca58e0fb6b3241b651887 [^]
2015-07-16 13:18 dmiguelez Review Assigned To => dmiguelez
2015-07-16 13:18 dmiguelez Note Added: 0078876
2015-07-16 13:18 dmiguelez Status resolved => closed
2015-07-17 15:09 hgbot Checkin
2015-07-17 15:09 hgbot Note Added: 0078944


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker