Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032095Retail ModulesWeb POSpublic2016-02-02 16:122016-02-16 16:58
plujan 
Sandrahuguet 
normalmajorhave not tried
closedfixed 
5
main 
RR16Q1 
migueldejuana
No
No
0032095: [RR16Q1][HGVOL] Characteristics and its values are not limited causing the system to stop working in some cases
When searching products in an environment loaded with characteristics and values, all the data is retrieved with no limits, causing delays and even causing the system to stop working at all. See steps.
This issue was reproduced using two different systems. A regular (low capacity) computer and a 4.0.4 Android tablet.

1. Using an environment with thousands of products, characteristics and characteristics values, log in as vallblanca user
2. Go to Search option and click the magnifier icon to search for all the records with no filter.
3a. On the computer, the search takes several seconds to finish. You can click the search button during the process, making the problem even worse.
3b. On the tablet, the screen gets blocked, and you cannot use the system for minutes.
We've tested a quick fix by including the OB.Dal.DATALIMIT to characteristic.js and characteristicvalue.js. The improvement is notable.
No tags attached.
blocks defect 0032094RR16Q2 closed Sandrahuguet [RR16Q1][HGVOL] Characteristics and its values are not limited causing the system to stop working in some cases 
Issue History
2016-02-02 16:36SandrahuguetTypedefect => backport
2016-02-04 15:21hgbotCheckin
2016-02-04 15:21hgbotNote Added: 0083927
2016-02-04 15:21hgbotStatusscheduled => resolved
2016-02-04 15:21hgbotResolutionopen => fixed
2016-02-04 15:21hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/e90ca030cebdbcb824e69a2343c1755cce3d6467 [^]
2016-02-16 13:37SandrahuguetReview Assigned To => migueldejuana
2016-02-16 16:58migueldejuanaNote Added: 0084264
2016-02-16 16:58migueldejuanaStatusresolved => closed

Notes
(0083927)
hgbot   
2016-02-04 15:21   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: e90ca030cebdbcb824e69a2343c1755cce3d6467
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Feb 03 12:18:28 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/e90ca030cebdbcb824e69a2343c1755cce3d6467 [^]

Fixed bug 32095 added datalimit to characteristic and characteristicvalue

---
M web/org.openbravo.retail.posterminal/js/model/characteristic.js
M web/org.openbravo.retail.posterminal/js/model/characteristicvalue.js
---
(0084264)
migueldejuana   
2016-02-16 16:58   
Tested and reviewed