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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037577
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2018-01-03 14:232018-02-06 18:24
ReporterumartirenaView Statuspublic 
Assigned Tojorge-garcia 
PriorityurgentResolutionfixedFixed in VersionRR18Q2
StatusclosedFix in branchFixed in SCM revision3738b06a513d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037577: Performance issues in Web POS while working with big amount of manual Discount (9.000)

DescriptionPerformance issues in Web POS while working with big amount of manual Discount (9.000).
Steps To ReproduceLoad 9.000 manual discounts in Web POS.
Login in Web POS.
Add a line.
Check that it takes around a minute to add the line and the Web POS freezes in the mean time.
Proposed SolutionOB.UTIL.isDisableDiscount function is the source of the problem. Make a count(*) instead of returning all the records of the query.
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0101606)
hgbot (developer)
2018-01-08 08:49

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3738b06a513d5c21546f65515d5b579b6dc3813e
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jan 05 10:58:17 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3738b06a513d5c21546f65515d5b579b6dc3813e [^]

Fixed issue 37577: Performance issues in Web POS while working with big
amount of manual Discount (9.000)

The solution is to check if exists at least one manual discount in the database
and it’s not needed retrieve all promotions.

---
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---

- Issue History
Date Modified Username Field Change
2018-01-03 14:23 umartirena New Issue
2018-01-03 14:23 umartirena Assigned To => Retail
2018-01-03 14:23 umartirena Triggers an Emergency Pack => No
2018-01-03 15:04 Sandrahuguet Tag Attached: Performance
2018-01-03 16:05 jorge-garcia Status new => scheduled
2018-01-03 16:05 jorge-garcia Assigned To Retail => jorge-garcia
2018-01-08 08:49 hgbot Checkin
2018-01-08 08:49 hgbot Note Added: 0101606
2018-01-08 08:49 hgbot Status scheduled => resolved
2018-01-08 08:49 hgbot Resolution open => fixed
2018-01-08 08:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3738b06a513d5c21546f65515d5b579b6dc3813e [^]
2018-02-06 18:24 marvintm Review Assigned To => marvintm
2018-02-06 18:24 marvintm Status resolved => closed
2018-02-06 18:24 marvintm Fixed in Version => RR18Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker