Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033047 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | always | 2016-05-25 12:19 | 2016-06-22 13:36 | |||
Reporter | guilleaer | View Status | public | |||||
Assigned To | mario_castello | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 3489886f9f87 | ||||
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 | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033047: async problem in cash management - Affecting (at least) to test I30160_UseTheSameGLItem | |||||||
Description | This 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 Reproduce | Just reproducible through test I30160_UseTheSameGLItem. now fixed adding sleep. | |||||||
Proposed Solution | 1. 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(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 --- |
![]() |
|||
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 | OBNetwork customer | => No |
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 |