Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032094Retail ModulesWeb POSpublic2016-02-02 16:122016-02-16 16:58
plujan 
Sandrahuguet 
normalmajorhave not tried
closedfixed 
5
main 
RR16Q2 
migueldejuana
No
0032094: [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.
depends on backport 0032095RR16Q1 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:12plujanNew Issue
2016-02-02 16:12plujanAssigned To => Sandrahuguet
2016-02-02 16:12plujanTriggers an Emergency Pack => No
2016-02-02 16:36SandrahuguetStatusnew => scheduled
2016-02-03 11:25SandrahuguetTarget VersionRR16Q1 => pi
2016-02-03 11:27hgbotCheckin
2016-02-03 11:27hgbotNote Added: 0083886
2016-02-03 11:27hgbotStatusscheduled => resolved
2016-02-03 11:27hgbotResolutionopen => fixed
2016-02-03 11:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/40d0cce4f0d2b55d2bfe333749ce14b4a5a4334f [^]
2016-02-03 11:32SandrahuguetTarget Versionpi => RR16Q2
2016-02-11 08:42SandrahuguetReview Assigned To => mtaal
2016-02-12 12:00mtaalReview Assigned Tomtaal => migueldejuana
2016-02-16 16:58migueldejuanaNote Added: 0084265
2016-02-16 16:58migueldejuanaStatusresolved => closed

Notes
(0083886)
hgbot   
2016-02-03 11:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 40d0cce4f0d2b55d2bfe333749ce14b4a5a4334f
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Feb 03 11:26:32 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/40d0cce4f0d2b55d2bfe333749ce14b4a5a4334f [^]

Fixed bug 32094 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
---
(0084265)
migueldejuana   
2016-02-16 16:58   
Tested and reviewed