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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032656
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POScriticalalways2016-04-12 09:412016-06-03 15:02
ReporterguillermogilView Statuspublic 
Assigned Tomigueldejuana 
PriorityimmediateResolutionfixedFixed in VersionRR16Q2
StatusclosedFix in branchFixed in SCM revisionbd93d22ead02
ProjectionnoneETAnoneTarget VersionRR16Q2
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionRR16Q1SCM revision 
Review Assigned Tomarvintm
Regression levelProduction - Confirmed Stable
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

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

DescriptionWebPOS 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.
Steps To ReproduceLogin on the ERP on 16Q1
Deactivate MultiPricelist preference for terminal MPL
Login on Terminal MPL

Product Prices are still loaded
Proposed SolutionReview the preference in order to load only if needed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0032652 closedmigueldejuana WebPOS is Loading all ProductPrices even if MultiPricelist is not activated 

-  Notes
(0085705)
hgbot (developer)
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 (developer)
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 (administrator)
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 (manager)
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 [^]

- Issue History
Date Modified Username Field Change
2016-04-12 16:57 migueldejuana Type defect => backport
2016-04-12 16:57 migueldejuana Target Version => RR16Q2
2016-04-18 13:31 hgbot Checkin
2016-04-18 13:31 hgbot Note Added: 0085705
2016-04-18 13:31 hgbot Status scheduled => resolved
2016-04-18 13:31 hgbot Resolution open => fixed
2016-04-18 13:31 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/202b0d7e2a03ebd49c401327b1deae3e4e4f4a12 [^]
2016-04-18 13:31 hgbot Checkin
2016-04-18 13:31 hgbot Note Added: 0085706
2016-04-18 13:31 hgbot Fixed in SCM revision http://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:33 migueldejuana Assigned To Retail => migueldejuana
2016-05-23 19:06 Orekaria Note Added: 0086686
2016-05-23 19:06 Orekaria Status resolved => new
2016-05-23 19:06 Orekaria Resolution fixed => open
2016-06-03 12:02 marvintm Status new => scheduled
2016-06-03 12:03 marvintm Note Added: 0086981
2016-06-03 12:03 marvintm Status scheduled => resolved
2016-06-03 12:03 marvintm Fixed in Version => RR16Q2
2016-06-03 12:03 marvintm Resolution open => fixed
2016-06-03 15:02 marvintm Review Assigned To => marvintm
2016-06-03 15:02 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker