Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036589 | Retail Modules | Web POS | public | 2017-08-03 11:49 | 2017-08-08 13:17 | |||||||
Reporter | jonibc | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR17Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036589: [SERQA 3180] Performance problem getting documentNo | |||||||||||
Description | Having BUT Production Environment, if more than one order is created using Ecommerce (External Order Loader), the same documentNo is assigned to all the orders created at the same time. To avoid this behavior the following line was added: OBDal.getInstance().refresh(lockedTerminal); But it takes around a second to refresh the entity. | |||||||||||
Steps To Reproduce | *Install BUT Production environment *Using Jmeter, configure to send 3 ecommerce orders at the same time *Using Java Profiler, check the time needed by the refresh method. *Check in the backend that the same documentNo is assigned for the 3 orders | |||||||||||
Proposed Solution | Evict the lockedTerminal to clean it in cache. Do get() to obtain the right object. Attached diff with the solution. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=10959&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-08-03 11:49 | jonibc | New Issue | ||||||||||
2017-08-03 11:49 | jonibc | Assigned To | => Retail | |||||||||
2017-08-03 11:49 | jonibc | File Added: posTerminal.diff | ||||||||||
2017-08-03 11:49 | jonibc | OBNetwork customer | => Yes | |||||||||
2017-08-03 11:49 | jonibc | Resolution time | => 1503007200 | |||||||||
2017-08-03 11:49 | jonibc | Triggers an Emergency Pack | => No | |||||||||
2017-08-03 11:50 | jonibc | Relationship added | caused by 0036423 | |||||||||
2017-08-03 11:50 | jonibc | Issue Monitored: jonibc | ||||||||||
2017-08-03 14:27 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2017-08-03 14:28 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2017-08-04 08:00 | hgbot | Checkin | ||||||||||
2017-08-04 08:00 | hgbot | Note Added: 0098378 | ||||||||||
2017-08-04 08:00 | hgbot | Status | scheduled => resolved | |||||||||
2017-08-04 08:00 | hgbot | Resolution | open => fixed | |||||||||
2017-08-04 08:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7e610b702c92365fd49d3a682822fde637ea25d [^] | |||||||||
2017-08-08 13:17 | marvintm | Review Assigned To | => marvintm | |||||||||
2017-08-08 13:17 | marvintm | Status | resolved => closed | |||||||||
2017-08-08 13:17 | marvintm | Fixed in Version | => RR17Q4 |
Notes | |||||
|
|||||
|
|