Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0034555 | Retail Modules | Web POS | public | 2016-11-17 12:18 | 2016-11-30 17:24 |
Reporter | gorkaion | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | pi | Fixed in Version | RR17Q1 | ||
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 | 0034555: [SERQA 2086] transformMessage() of ExternalOrderLoader executed several times on each request | ||||
Description | The transformMessage() method is the one in charge of parsing the incoming JSON to be transformed to the OrderLoader format. This method is called in 3 different methods of the ExternalOrderLoader so the method can be executed up to 3 different times. This behavior has a performance impact as it is processing 3 times the same information and can cause errors in the ExternalOrderLoader. For example if it is set a warehouse in the order line the second execution of the tranformMessage fails. | ||||
Steps To Reproduce | Put debug log and check how the transformMessage is called several times. Add the warehouse property to a order line and check that the process fails. | ||||
Proposed Solution | Call the transformMessage() method only once in the code by removing the calls in the exec() methods. Attached a diff. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=10059&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-11-17 12:18 | gorkaion | New Issue | |||
2016-11-17 12:18 | gorkaion | Assigned To | => Retail | ||
2016-11-17 12:18 | gorkaion | File Added: externalOrderLoader.diff | |||
2016-11-17 12:18 | gorkaion | OBNetwork customer | => Yes | ||
2016-11-17 12:18 | gorkaion | Triggers an Emergency Pack | => No | ||
2016-11-21 13:11 | gorkaion | Resolution time | => 1480546800 | ||
2016-11-21 13:11 | gorkaion | Summary | transformMessage() of ExternalOrderLoader executed several times on each request => [SERQA 2086] transformMessage() of ExternalOrderLoader executed several times on each request | ||
2016-11-23 13:55 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2016-11-23 13:55 | ranjith_qualiantech_com | Status | new => scheduled | ||
2016-11-25 11:05 | hgbot | Checkin | |||
2016-11-25 11:05 | hgbot | Note Added: 0091825 | |||
2016-11-25 11:05 | hgbot | Status | scheduled => resolved | ||
2016-11-25 11:05 | hgbot | Resolution | open => fixed | ||
2016-11-25 11:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/387ed12b4721ead00467e58ecd686ae29f8550f4 [^] | ||
2016-11-30 17:24 | marvintm | Review Assigned To | => marvintm | ||
2016-11-30 17:24 | marvintm | Status | resolved => closed | ||
2016-11-30 17:24 | marvintm | Fixed in Version | => RR17Q1 |
Notes | |||||
|
|||||
|
|