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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037990
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorunable to reproduce2018-02-21 16:322018-03-08 17:18
ReporterjorgewederagoView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR18Q2
StatusclosedFix in branchFixed in SCM revision13d42a8cc0ea
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tojorge-garcia
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037990: Under certain circumstances it is possible to execute runSyncProcess twice.

DescriptionUnder certain circumstances it is possible to execute runSyncProcess twice. In this particular case, if a order was ready to be sync it will be sent twice with different message Id. This will end in one of them en errors while importing with the message "duplicated c_order_id".

There is a log client attached to the issue showing an example of this behavior.
Steps To ReproduceN/A
Proposed SolutionIt should be possible to make runSyncProcess behave in the same way as calculateReceipt. Instead of execute the process again wait until the first one is finished and then execute it again.
TagsNo tags attached.
Attached Filescsv file icon DuplicatedCOrderLog.csv [^] (152,742 bytes) 2018-02-21 16:32

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0102888)
hgbot (developer)
2018-03-01 06:58

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 13d42a8cc0ea4d9ef98408468793e7604b12f037
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Mar 01 11:28:04 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/13d42a8cc0ea4d9ef98408468793e7604b12f037 [^]

Fixed issue 37990 : Refactored runSyncProcess to avoid multiple execution

* If runSyncProcess is called continuously, callbacks will be added list and runSyncProcess will be called once.
  If syncProcess is completes, it will call all the callbacks from list

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0103102)
jorge-garcia (reporter)
2018-03-08 17:18

Code reviewed and tested

- Issue History
Date Modified Username Field Change
2018-02-21 16:32 jorgewederago New Issue
2018-02-21 16:32 jorgewederago Assigned To => Retail
2018-02-21 16:32 jorgewederago File Added: DuplicatedCOrderLog.csv
2018-02-21 16:32 jorgewederago Resolution time => 1520982000
2018-02-21 16:32 jorgewederago Triggers an Emergency Pack => No
2018-02-28 10:19 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2018-02-28 10:19 ranjith_qualiantech_com Status new => scheduled
2018-03-01 06:58 hgbot Checkin
2018-03-01 06:58 hgbot Note Added: 0102888
2018-03-01 06:58 hgbot Status scheduled => resolved
2018-03-01 06:58 hgbot Resolution open => fixed
2018-03-01 06:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/13d42a8cc0ea4d9ef98408468793e7604b12f037 [^]
2018-03-08 17:18 jorge-garcia Review Assigned To => jorge-garcia
2018-03-08 17:18 jorge-garcia Note Added: 0103102
2018-03-08 17:18 jorge-garcia Status resolved => closed
2018-03-08 17:18 jorge-garcia Fixed in Version => RR18Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker