Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0038573 | Retail Modules | Web POS | public | 2018-05-17 17:57 | 2018-06-21 09:32 | |||||||
Reporter | asiermartirena | |||||||||||
Assigned To | asiermartirena | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR18Q3 | ||||||||||
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 | 0038573: The save action of the ticket is being executed more times that should | |||||||||||
Description | The save action of the order model is being executed locally in Web POS more times that it should, causing performance problems. When updating a line quantity, a save action is done and then the calculateReceipt process is executed, which also finishes with a save action. The second save is the only necessary (and correct) one. When introducing many lines at a time, or when doing several changes in the ticket that launches many calculateReceipt processes, the save action is also executed 2 times, when it should be executed only after the last calculate receipt. Also, when the deleting lines process finishes, a save action is executed in addition to the calculateReceipt action. In this case, the last save action is correct, but the calculateReceipt save action must be avoided. In the other hand, when loading receipts to the Web POS, the order is not being saved locally at the end of the process, which is an error, because if the user presses the F5 having that order, the ticket status is incorrect. | |||||||||||
Steps To Reproduce | Load the Web POS. Introduce multiple lines -> Multiple save actions Change the quantity of some line -> Multiple save actions Delete a line -> Multiple save actions Load a ticket -> The ticket is not save fully, so if the user presses F5, is visible that the ticket is corrupted | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-05-17 17:57 | asiermartirena | New Issue | ||||||||||
2018-05-17 17:57 | asiermartirena | Assigned To | => asiermartirena | |||||||||
2018-05-17 17:57 | asiermartirena | OBNetwork customer | => No | |||||||||
2018-05-17 17:57 | asiermartirena | Triggers an Emergency Pack | => No | |||||||||
2018-05-21 09:06 | hgbot | Checkin | ||||||||||
2018-05-21 09:06 | hgbot | Note Added: 0104595 | ||||||||||
2018-05-21 09:06 | hgbot | Status | new => resolved | |||||||||
2018-05-21 09:06 | hgbot | Resolution | open => fixed | |||||||||
2018-05-21 09:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/69f7c826e00458e543be9280089778be37479ac2 [^] | |||||||||
2018-05-21 15:34 | asiermartirena | Description Updated | bug_revision_view_page.php?rev_id=17165#r17165 | |||||||||
2018-06-21 09:32 | marvintm | Review Assigned To | => marvintm | |||||||||
2018-06-21 09:32 | marvintm | Status | resolved => closed | |||||||||
2018-06-21 09:32 | marvintm | Fixed in Version | => RR18Q3 | |||||||||
2018-06-25 15:36 | aaroncalero | Relationship added | causes 0038825 |
Notes | |||||
|
|||||
|
|