Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037577 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2018-01-03 14:23 | 2018-02-06 18:24 | |||
Reporter | umartirena | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3738b06a513d | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037577: Performance issues in Web POS while working with big amount of manual Discount (9.000) | |||||||
Description | Performance issues in Web POS while working with big amount of manual Discount (9.000). | |||||||
Steps To Reproduce | Load 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 Solution | OB.UTIL.isDisableDiscount function is the source of the problem. Make a count(*) instead of returning all the records of the query. | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 --- |
![]() |
|||
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 | OBNetwork customer | => No |
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 |