Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036380 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Cash up | major | always | 2017-06-30 14:13 | 2017-07-14 11:06 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | prakashmurugesan88 | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | d3c653538711 | ||||
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 | migueldejuana | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036380: Enyo errors navigating to the cashup after doing several cash management movements | |||||||
Description | After creating several cash management movements with the same type, amount and payment method (i.e. 2 different Cash drops of 100€) if the user navigates to the Cash Up window, several enyo errors will be generated on the browser console. | |||||||
Steps To Reproduce | Login in web pos Go to the Cash Management window. Select Cash Deposit, write a 100, click on Enter and finally select Backoffice transfer to VBS. Repeat the step to deposit another 100€ Click on Done to synchronize the cash movements and click Ok on the confirmation popup. Click on the Menu > Cash Up to navigate to the Cash Up window. Verify on the browser console that several enyo errors are shown: enyo] Duplicated DOM id 'terminal_containerWindow_cashUp_cashupMultiColumn_leftPanel_postPrintClose_depositsTable_deposits_cashMgmtDepositOBPOSpayment.cash20_control3' Object {_componentNameMap: Object, $: Object, owner: Object, allowHtml: true, tag: "span"…} will overwrite to Object {_componentNameMap: Object, $: Object, owner: Object, allowHtml: true, tag: "span"…} ... | |||||||
Proposed Solution | When the cashup window is opened, the generated cash management movements are retrieved and stored on the cashUpReport object to build the final cashup report. The "searchKey" of each cash management is generated from the type of the movement, the searchKey of the payment method and the amount, which can generate duplicates. This code[1] should be changed to generate unique search keys for each cash management movement. [1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/00aead81c650/web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js#l203 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0097995) hgbot (developer) 2017-07-11 07:28 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: d3c6535387113021e6483ee3bd61757ab19e22e7 Author: Prakash M <prakash <at> qualiantech.com> Date: Tue Jul 11 10:57:42 2017 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d3c6535387113021e6483ee3bd61757ab19e22e7 [^] Fixed Issue 36380: While opening cash up, added unique index for each "searchKey" of cash mgmt to avoid duplicates --- M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js --- |
(0097996) hgbot (developer) 2017-07-11 07:29 |
Repository: tools/automation/pi-mobile Changeset: 2191a8aae06127dd77c4e1883ac6f882e33e1ab1 Author: Prakash M <prakash <at> qualiantech.com> Date: Tue Jul 11 10:57:23 2017 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2191a8aae06127dd77c4e1883ac6f882e33e1ab1 [^] Verifies issue 36380: Added automated test I36380_CashupWithMultipleSimilarCashManagementMvmt --- M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashup/I36380_CashupWithMultipleSimilarCashManagementMvmt.java --- |
(0098077) migueldejuana (viewer) 2017-07-14 11:06 |
Tested and reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2017-06-30 14:13 | aaroncalero | New Issue | |
2017-06-30 14:13 | aaroncalero | Assigned To | => Retail |
2017-06-30 14:13 | aaroncalero | OBNetwork customer | => Yes |
2017-06-30 14:13 | aaroncalero | Resolution time | => 1499983200 |
2017-06-30 14:13 | aaroncalero | Triggers an Emergency Pack | => No |
2017-06-30 14:19 | aaroncalero | Steps to Reproduce Updated | View Revisions |
2017-07-03 14:38 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2017-07-03 14:39 | ranjith_qualiantech_com | Status | new => scheduled |
2017-07-04 08:22 | prakashmurugesan88 | Assigned To | ranjith_qualiantech_com => prakashmurugesan88 |
2017-07-11 07:28 | hgbot | Checkin | |
2017-07-11 07:28 | hgbot | Note Added: 0097995 | |
2017-07-11 07:28 | hgbot | Status | scheduled => resolved |
2017-07-11 07:28 | hgbot | Resolution | open => fixed |
2017-07-11 07:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d3c6535387113021e6483ee3bd61757ab19e22e7 [^] |
2017-07-11 07:29 | hgbot | Checkin | |
2017-07-11 07:29 | hgbot | Note Added: 0097996 | |
2017-07-14 11:06 | migueldejuana | Review Assigned To | => migueldejuana |
2017-07-14 11:06 | migueldejuana | Note Added: 0098077 | |
2017-07-14 11:06 | migueldejuana | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |