Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021954
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2012-10-16 17:142012-10-31 10:55
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6bf66d8867f4
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021954: Under strange circumstances, the POS may send the same sales order twice

DescriptionUnder 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 ReproduceIt 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 SolutionThe 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (manager)
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
---

- Issue History
Date Modified Username Field Change
2012-10-16 17:14 marvintm New Issue
2012-10-16 17:14 marvintm Assigned To => marvintm
2012-10-16 17:17 hgbot Checkin
2012-10-16 17:17 hgbot Note Added: 0053377
2012-10-16 17:17 hgbot Status new => resolved
2012-10-16 17:17 hgbot Resolution open => fixed
2012-10-16 17:17 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^]
2012-10-16 17:25 hgbot Checkin
2012-10-16 17:25 hgbot Note Added: 0053394
2012-10-16 17:25 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^]
2012-10-22 19:18 hgbot Checkin
2012-10-22 19:18 hgbot Note Added: 0053550
2012-10-22 19:18 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-quotations/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^]
2012-10-24 17:28 adrianromero Note Added: 0053645
2012-10-24 17:28 adrianromero Status resolved => closed
2012-10-31 09:37 hgbot Checkin
2012-10-31 09:37 hgbot Note Added: 0053879
2012-10-31 09:37 hgbot Status closed => resolved
2012-10-31 09:37 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-quotations/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-gal/rev/6bf66d8867f43bedce8ff97dd62fd1511e31e4ba [^]
2012-10-31 10:55 adrianromero Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker