Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035871Openbravo ERP04. Warehouse managementpublic2017-04-27 17:502017-05-29 17:43
egoitz 
collazoandy4 
normalmajoralways
closedfixed 
5
 
3.0PR17Q3 
aferraz
Core
No
0035871: The product movement report collapses the system when there are thousands of result to be shown
The product movement report consumes a lot of memory when there are thousands of results.
The number of rows shown should be limited.
Execute the report on an environment with thousands of product movements.
No tags attached.
related to design defect 0034620 closed rqueralta The ReportWarehouseControl report collapse the system 
Issue History
2017-04-27 17:50egoitzNew Issue
2017-04-27 17:50egoitzAssigned To => Triage Finance
2017-04-27 17:50egoitzModules => Core
2017-04-27 17:50egoitzResolution time => 1495058400
2017-04-27 17:50egoitzTriggers an Emergency Pack => No
2017-04-27 17:50egoitzRelationship addedrelated to 0034620
2017-05-04 16:25aferrazAssigned ToTriage Finance => collazoandy4
2017-05-04 19:31collazoandy4Statusnew => scheduled
2017-05-04 22:19collazoandy4Note Added: 0096404
2017-05-05 11:20hgbotCheckin
2017-05-05 11:20hgbotNote Added: 0096413
2017-05-05 11:20hgbotStatusscheduled => resolved
2017-05-05 11:20hgbotResolutionopen => fixed
2017-05-05 11:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5b9ef64d95b377d72cdc6e0c90f6e0f47e618812 [^]
2017-05-05 11:21hgbotCheckin
2017-05-05 11:21hgbotNote Added: 0096414
2017-05-05 11:24aferrazReview Assigned To => aferraz
2017-05-05 11:24aferrazNote Added: 0096415
2017-05-05 11:24aferrazStatusresolved => closed
2017-05-05 11:24aferrazFixed in Version => 3.0PR17Q3
2017-05-29 17:43hudsonbotCheckin
2017-05-29 17:43hudsonbotNote Added: 0096947
2017-05-29 17:43hudsonbotCheckin
2017-05-29 17:43hudsonbotNote Added: 0096948

Notes
(0096404)
collazoandy4   
2017-05-04 22:19   
Test Plan
  As System admin:
    Edit the Forms Limit preference value to 10
  Log out and Log in
  As group admin role:
    Go to Product Movement Report window:
      From Date: 01-01-2015
      To Date: 01-01-2017
    Clic on HTML Format button and realize a warning message is shown
(0096413)
hgbot   
2017-05-05 11:20   
Repository: erp/devel/pi
Changeset: 5b9ef64d95b377d72cdc6e0c90f6e0f47e618812
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu May 04 16:06:19 2017 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/5b9ef64d95b377d72cdc6e0c90f6e0f47e618812 [^]

Fixes issue 35871: Product Movement Report collapse the system

The data in report was limit to the LimitsReports preference value and a warning
is shown to inform that data is being limited.

---
M src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.java
M src/org/openbravo/erpCommon/ad_reports/ReportProductMovement_data.xsql
---
(0096414)
hgbot   
2017-05-05 11:21   
Repository: erp/devel/pi
Changeset: a624ea46456d49bb1f431b438e5591b6c3c926ab
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri May 05 09:50:29 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a624ea46456d49bb1f431b438e5591b6c3c926ab [^]

Related to issue 35871: Code review improvements

Don't read ReportsLimit preference when opening the report but just when running it.
Fix select query when running it in Oracle.

---
M src/org/openbravo/erpCommon/ad_reports/ReportProductMovement.java
M src/org/openbravo/erpCommon/ad_reports/ReportProductMovement_data.xsql
---
(0096415)
aferraz   
2017-05-05 11:24   
Code review + Testing OK
(0096947)
hudsonbot   
2017-05-29 17:43   
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/1ee70113bdc4 [^]
Maturity status: Test
(0096948)
hudsonbot   
2017-05-29 17:43   
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/1ee70113bdc4 [^]
Maturity status: Test