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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036380
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Cash upmajoralways2017-06-30 14:132017-07-14 11:06
ReporteraaroncaleroView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiond3c653538711
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036380: Enyo errors navigating to the cashup after doing several cash management movements

DescriptionAfter 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 ReproduceLogin 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 SolutionWhen 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (developer)
2017-07-14 11:06

Tested and reviewed

- Issue History
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 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
Powered by Mantis Bugtracker