Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032656Retail ModulesWeb POSpublic2016-04-12 09:412016-06-03 15:02
guillermogil 
migueldejuana 
immediatecriticalalways
closedfixed 
30Professional Appliance
RR16Q1 
RR16Q2RR16Q2 
marvintm
Production - Confirmed Stable
No
0032656: WebPOS is Loading all ProductPrices even if MultiPricelist is not activated
WebPOS is Loading all ProductPrices even if MultiPricelist is not activated.
On environments with a high volume data it makes totally imposible to login.
More than 30 minutes and still not loaded.
Login on the ERP on 16Q1
Deactivate MultiPricelist preference for terminal MPL
Login on Terminal MPL

Product Prices are still loaded
Review the preference in order to load only if needed
No tags attached.
blocks defect 0032652 closed migueldejuana WebPOS is Loading all ProductPrices even if MultiPricelist is not activated 
Issue History
2016-04-12 16:57migueldejuanaTypedefect => backport
2016-04-12 16:57migueldejuanaTarget Version => RR16Q2
2016-04-18 13:31hgbotCheckin
2016-04-18 13:31hgbotNote Added: 0085705
2016-04-18 13:31hgbotStatusscheduled => resolved
2016-04-18 13:31hgbotResolutionopen => fixed
2016-04-18 13:31hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/202b0d7e2a03ebd49c401327b1deae3e4e4f4a12 [^]
2016-04-18 13:31hgbotCheckin
2016-04-18 13:31hgbotNote Added: 0085706
2016-04-18 13:31hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/202b0d7e2a03ebd49c401327b1deae3e4e4f4a12 [^] => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.mobile.core/rev/bd93d22ead02e3d9e246a3c2d1fac95bb3a13639 [^]
2016-04-18 19:33migueldejuanaAssigned ToRetail => migueldejuana
2016-05-23 19:06OrekariaNote Added: 0086686
2016-05-23 19:06OrekariaStatusresolved => new
2016-05-23 19:06OrekariaResolutionfixed => open
2016-06-03 12:02marvintmStatusnew => scheduled
2016-06-03 12:03marvintmNote Added: 0086981
2016-06-03 12:03marvintmStatusscheduled => resolved
2016-06-03 12:03marvintmFixed in Version => RR16Q2
2016-06-03 12:03marvintmResolutionopen => fixed
2016-06-03 15:02marvintmReview Assigned To => marvintm
2016-06-03 15:02marvintmStatusresolved => closed

Notes
(0085705)
hgbot   
2016-04-18 13:31   
Repository: retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal
Changeset: 202b0d7e2a03ebd49c401327b1deae3e4e4f4a12
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Apr 18 13:30:58 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/202b0d7e2a03ebd49c401327b1deae3e4e4f4a12 [^]

Fixed issue 0032656: WebPOS is Loading all ProductPrices even if MultiPricelist is not activated

- If preference is disabled, do not load prices lits and product prices

---
M src/org/openbravo/retail/posterminal/master/PriceList.java
M src/org/openbravo/retail/posterminal/master/ProductPrice.java
---
(0085706)
hgbot   
2016-04-18 13:31   
Repository: retail/backports/3.0RR16Q2/org.openbravo.mobile.core
Changeset: bd93d22ead02e3d9e246a3c2d1fac95bb3a13639
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Apr 18 13:30:21 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.mobile.core/rev/bd93d22ead02e3d9e246a3c2d1fac95bb3a13639 [^]

Fixed issue 0032656: WebPOS is Loading all ProductPrices even if MultiPricelist is not activated

- Do not update lastUpdatedTimestamp value if there is no data

---
M web/org.openbravo.mobile.core/source/data/ob-datasource.js
---
(0086686)
Orekaria   
2016-05-23 19:06   
When trying to activate the preference, several tomcat errors are shown:
PreferenceID = 3FB430AA20AE44508551A6799908BA20
Test: I32652_MPLDisablePreferenceCreateReceipt
Errors:
2016-05-23 19:05:46,482 [http-bio-8280-exec-3] ERROR org.openbravo.retail.posterminal.master.Product - Error getting preference EnableMultiPriceList null
2016-05-23 19:05:47,157 [http-bio-8280-exec-8] ERROR org.openbravo.retail.posterminal.master.Discount - Error getting Preference: null
(0086981)
marvintm   
2016-06-03 12:03   
These errors were caused by a duplicated preference in sampledata. Now this is fixed by this commit, and the problem no longer happens:

https://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.sampledata/rev/58d4bcccd5d3 [^]