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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033047
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2016-05-25 12:192016-06-22 13:36
ReporterguilleaerView Statuspublic 
Assigned Tomario_castello 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision3489886f9f87
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033047: async problem in cash management - Affecting (at least) to test I30160_UseTheSameGLItem

DescriptionThis issue happens because when a deposit or withdrawal is created (after click in the list of deposits/withdrawals popup line) the code has an asynchrony which is not properly managed.

This asynchrony, used to retrieve current cashup information, causes that if done button is pressed very fast (Only reproducible by test), the deposit or withdrawal is not already added to the list.

Above fact happens here ->
file: cashmgmt-model.js
Line: 29
Code: this.depsdropstosave.on('paymentDone', function (model, p) {
Steps To ReproduceJust reproducible through test I30160_UseTheSameGLItem.

now fixed adding sleep.
Proposed Solution1. Async should be properly managed or romeved (cashupid can be get from terminal without asynchrony)
2. Done button should be disabled while find is executed
3. Remove pause in test once issue is fixed
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0087355)
hgbot (developer)
2016-06-16 15:49

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3489886f9f874501b775ed88506beea1a42281d4
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Jun 15 13:00:33 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3489886f9f874501b775ed88506beea1a42281d4 [^]

Fixed issue 33047: Added synchronization to paymenDone event in cash management

---
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
---
(0087636)
hgbot (developer)
2016-06-17 20:06

Repository: tools/automation/pi-mobile
Changeset: e33acf340126fbb9dfe9cc1dbbff7e3d09f5b3a5
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Jun 16 14:22:35 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e33acf340126fbb9dfe9cc1dbbff7e3d09f5b3a5 [^]

Related to issue 33047: Delete OBUtils.pause in test I30160_UseTheSameGLItem

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashmanagement/I30160_UseTheSameGLItem.java
---

- Issue History
Date Modified Username Field Change
2016-05-25 12:19 guilleaer New Issue
2016-05-25 12:19 guilleaer Assigned To => Retail
2016-05-25 12:19 guilleaer Triggers an Emergency Pack => No
2016-05-25 12:29 Orekaria Status new => acknowledged
2016-06-14 00:14 mario_castello Assigned To Retail => mario_castello
2016-06-14 16:28 mario_castello Status acknowledged => scheduled
2016-06-16 15:49 hgbot Checkin
2016-06-16 15:49 hgbot Note Added: 0087355
2016-06-16 15:49 hgbot Status scheduled => resolved
2016-06-16 15:49 hgbot Resolution open => fixed
2016-06-16 15:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3489886f9f874501b775ed88506beea1a42281d4 [^]
2016-06-17 20:06 hgbot Checkin
2016-06-17 20:06 hgbot Note Added: 0087636
2016-06-22 13:36 marvintm Review Assigned To => marvintm
2016-06-22 13:36 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker