Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021954 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | sometimes | 2012-10-16 17:14 | 2012-10-31 10:55 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 6bf66d8867f4 | ||||
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 | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0021954: Under strange circumstances, the POS may send the same sales order twice | |||||||
Description | Under very specific circumstances, it is possible that the Web POS sends the same sales order twice to the backend, so the order would be duplicated. For this to happen, the POS needs to go to offline mode while an order is being sent to the backend. | |||||||
Steps To Reproduce | It is very difficult to reproduce this issue, the most reliable way is to add a large amount of artificial time to the OrderLoader process, and then cut the connection to the server while the request to save an order is being done. | |||||||
Proposed Solution | The retriggering of an order will be detected, and in this case, the order will only be saved when an equivalent order doesn't exist in the database. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0053377) hgbot (developer) 2012-10-16 17:17 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 6bf66d8867f43bedce8ff97dd62fd1511e31e4ba Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue Oct 16 17:16:11 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^] Fixed issue 21954. The orders will no longer be duplicated: - From now on, if an order is being re-sent during login, it will have an special flag. - If this flag is set, the backend will check if the order already exists before creating it. --- M src/org/openbravo/retail/posterminal/OrderLoader.java M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js --- |
(0053394) hgbot (developer) 2012-10-16 17:25 |
Repository: erp/pmods/org.openbravo.retail.posterminal-discounts Changeset: 6bf66d8867f43bedce8ff97dd62fd1511e31e4ba Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue Oct 16 17:16:11 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^] Fixed issue 21954. The orders will no longer be duplicated: - From now on, if an order is being re-sent during login, it will have an special flag. - If this flag is set, the backend will check if the order already exists before creating it. --- M src/org/openbravo/retail/posterminal/OrderLoader.java M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js --- |
(0053550) hgbot (developer) 2012-10-22 19:18 |
Repository: erp/pmods/org.openbravo.retail.posterminal-quotations Changeset: 6bf66d8867f43bedce8ff97dd62fd1511e31e4ba Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue Oct 16 17:16:11 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-quotations/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^] Fixed issue 21954. The orders will no longer be duplicated: - From now on, if an order is being re-sent during login, it will have an special flag. - If this flag is set, the backend will check if the order already exists before creating it. --- M src/org/openbravo/retail/posterminal/OrderLoader.java M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js --- |
(0053645) adrianromero (viewer) 2012-10-24 17:28 |
Closed for RMP16 |
(0053879) hgbot (developer) 2012-10-31 09:37 |
Repository: erp/pmods/org.openbravo.retail.posterminal-gal Changeset: 6bf66d8867f43bedce8ff97dd62fd1511e31e4ba Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Tue Oct 16 17:16:11 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-gal/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^] Fixed issue 21954. The orders will no longer be duplicated: - From now on, if an order is being re-sent during login, it will have an special flag. - If this flag is set, the backend will check if the order already exists before creating it. --- M src/org/openbravo/retail/posterminal/OrderLoader.java M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js --- |
Copyright © 2000 - 2009 MantisBT Group |