Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033061Retail ModulesWeb POSpublic2016-05-26 16:102016-07-19 12:14
paul_guiot 
jorge-garcia 
highmajoralways
closedfixed 
5
 
 
marvintm
No
0033061: [SERQA 1177] Cash up: An error occurs when using the WebPOS keypad
Following different steps, we reach this error message:

Cannot read property 'action' of undefined
    at Object.enyo.kind.execCommand (https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/696418f278a38bf3702af101254c8e6f_WebPOS.js:14522:18 [^])
    at Object.enyo.kind.commandHandler (https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/696418f278a38bf3702af101254c8e6f_WebPOS.js:14607:14 [^])
    at Object.enyo.kind.dispatch (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:628:17 [^])
    at Object.enyo.kind.dispatchEvent (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:612:30 [^])
    at Object.enyo.kind.inherited (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:410:28 [^])
    at Object.enyo.kind.dispatchEvent (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:1338:78 [^])
    at Object.enyo.kind.dispatchBubble (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:616:13 [^])
    at Object.enyo.kind.bubble (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:604:62 [^])
    at Object.n.(anonymous function).n.(anonymous function) [as doCommandFired] (https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.mobile.core/build/enyo.js:658:13 [^])
    at Object.enyo.kind.virtualKeypressHandler (https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/696418f278a38bf3702af101254c8e6f_WebPOS.js:14452:12 [^]); line: Object.OB.UTIL.showError (https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/696418f278a38bf3702af101254c8e6f_WebPOS.js:11026:6 [^]) (*,+)
https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1#retail.cashup [^]
User: Vallblanca

- In the menu, go to Cash Up
- Insert an amount anc click "Next"
- Select all the payment methods and click Next
- In the step 3/4, Select: The amount or "Nothing" or "Total amount of*"
- In the WebPOS keypad, insert an amount (eg "0") and Enter

The error occurs
As far as we select "Nothing" or "Total amount of*", we should not have access to the keyboard.
No tags attached.
has duplicate defect 0033105 closed jorge-garcia [SERQA 1212] Cash up: An error occurs when using the WebPOS keypad 
related to backport 0043198RR20Q1 closed prakashmurugesan88 [20Q1] [NewSkin] [UX] Left column of the virtual keypad in the first "Count cash" steps is inconsistent to seen in other steps 
related to defect 0042971 closed prakashmurugesan88 [20Q1] [NewSkin] [UX] Left column of the virtual keypad in the first "Count cash" steps is inconsistent to seen in other steps 
Issue History
2016-05-26 16:10paul_guiotNew Issue
2016-05-26 16:10paul_guiotAssigned To => Retail
2016-05-26 16:10paul_guiotResolution time => 1465941600
2016-05-26 16:10paul_guiotTriggers an Emergency Pack => No
2016-05-30 10:09VictorVillarSummary[SERQA 1178] Cash up: An error occurs => [SERQA 1177] Cash up: An error occurs
2016-05-30 10:28OrekariaStatusnew => acknowledged
2016-05-31 15:58ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-05-31 15:58ranjith_qualiantech_comStatusacknowledged => scheduled
2016-06-01 13:26OrekariaSummary[SERQA 1177] Cash up: An error occurs => [SERQA 1177] Cash up: An error occurs when using the WebPOS keypad
2016-06-01 13:26OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12278#r12278
2016-06-01 13:55ranjith_qualiantech_comAssigned Toranjith_qualiantech_com => jorge-garcia
2016-06-01 14:41paul_guiotRelationship addedrelated to 0033105
2016-06-10 14:23hgbotCheckin
2016-06-10 14:23hgbotNote Added: 0087159
2016-06-10 14:24hgbotCheckin
2016-06-10 14:24hgbotNote Added: 0087160
2016-06-10 14:24hgbotStatusscheduled => resolved
2016-06-10 14:24hgbotResolutionopen => fixed
2016-06-10 14:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9516ad6e07728b310126ae1c1f09c22a03761fc4 [^]
2016-06-13 12:43OrekariaNote Added: 0087196
2016-06-13 12:43OrekariaStatusresolved => new
2016-06-13 12:43OrekariaResolutionfixed => open
2016-06-13 12:43OrekariaStatusnew => scheduled
2016-06-14 10:49hgbotCheckin
2016-06-14 10:49hgbotNote Added: 0087238
2016-06-14 10:49jorge-garciaStatusscheduled => resolved
2016-06-14 10:49jorge-garciaFixed in Version => RR16Q3
2016-06-14 10:49jorge-garciaResolutionopen => fixed
2016-06-14 12:19jorge-garciaRelationship replacedhas duplicate 0033105
2016-06-15 18:48marvintmNote Added: 0087316
2016-06-15 18:48marvintmStatusresolved => new
2016-06-15 18:48marvintmResolutionfixed => open
2016-06-15 18:48marvintmFixed in VersionRR16Q3 =>
2016-06-15 18:48marvintmStatusnew => scheduled
2016-06-20 11:51hgbotCheckin
2016-06-20 11:51hgbotNote Added: 0087659
2016-06-20 11:51jorge-garciaStatusscheduled => resolved
2016-06-20 11:51jorge-garciaFixed in Version => RR16Q3
2016-06-20 11:51jorge-garciaResolutionopen => fixed
2016-06-24 13:30OrekariaNote Added: 0087898
2016-06-24 13:30OrekariaStatusresolved => new
2016-06-24 13:30OrekariaResolutionfixed => open
2016-06-24 13:30OrekariaFixed in VersionRR16Q3 =>
2016-06-24 13:30OrekariaStatusnew => scheduled
2016-06-24 13:42marvintmNote Added: 0087900
2016-06-24 13:42marvintmStatusscheduled => resolved
2016-06-24 13:42marvintmResolutionopen => fixed
2016-06-24 13:42marvintmReview Assigned To => marvintm
2016-06-24 13:42marvintmStatusresolved => closed
2016-07-19 12:14hgbotCheckin
2016-07-19 12:14hgbotNote Added: 0088577
2020-02-13 17:09guilleaerRelationship addedrelated to 0043198
2020-02-13 17:10guilleaerRelationship addedrelated to 0042971

Notes
(0087159)
hgbot   
2016-06-10 14:23   
Repository: tools/automation/pi-mobile
Changeset: b3d770e6f1b07412dec185973d48291ae314c630
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Jun 10 14:22:59 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b3d770e6f1b07412dec185973d48291ae314c630 [^]

Verifies issue 33061: [SERQA 1177] Cash up: An error occurs when using the
WebPOS keypad

Added test I33061_ActionWithoutCommandInCashUp.

---
A src-test/org/openbravo/test/mobile/quarantine/pack/JGA/system/externalinput/I33061_ActionWithoutCommandInCashUp.java
---
(0087160)
hgbot   
2016-06-10 14:24   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9516ad6e07728b310126ae1c1f09c22a03761fc4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jun 07 17:55:36 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9516ad6e07728b310126ae1c1f09c22a03761fc4 [^]

Fixed issue 33061: [SERQA 1177] Cash up: An error occurs when using the
WebPOS keypad

Added the command allowdontmove to the cashclose process.

---
M web/org.openbravo.retail.posterminal/js/closecash/view/closekeyboard.js
---
(0087196)
Orekaria   
2016-06-13 12:43   
It can still be reproduced
(0087238)
hgbot   
2016-06-14 10:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c6194c142be71042a8dc58739a80f46affff3b94
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jun 13 12:55:05 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c6194c142be71042a8dc58739a80f46affff3b94 [^]

Related to issue 33061: [SERQA 1177] Cash up: An error occurs when using the
WebPOS keypad

Added the command allowmoveeverything to the cashclose process.

---
M web/org.openbravo.retail.posterminal/js/closecash/view/closekeyboard.js
---
(0087316)
marvintm   
2016-06-15 18:48   
It seems this same problem can still be reproduced by specifying some specific amount to keep.
(0087659)
hgbot   
2016-06-20 11:51   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ae88052ec4ba4089a8d97b397ca16cce148448d2
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jun 20 09:06:54 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ae88052ec4ba4089a8d97b397ca16cce148448d2 [^]

Related to issue 33061: [SERQA 1177] Cash up: An error occurs when using the
WebPOS keypad

Added the command keepfixedamount to the cashclose process.

---
M web/org.openbravo.retail.posterminal/js/closecash/view/closekeyboard.js
---
(0087898)
Orekaria   
2016-06-24 13:30   
Please update the test or add a new test for the "specific amount to keep" condition
(0087900)
marvintm   
2016-06-24 13:42   
The test will be modified to also check these new cases next week. In the meantime we are closing the issue as it seems now the fix works correctly for all cases.
(0088577)
hgbot   
2016-07-19 12:14   
Repository: tools/automation/pi-mobile
Changeset: c51ab9e519b356fa74585237350e43014cc22df2
Author: Shivanand Madiwalar <shivanand.madiwalar <at> promantia.com>
Date: Tue Jul 19 15:44:15 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c51ab9e519b356fa74585237350e43014cc22df2 [^]

Verifies Issue 33061 : Added Few Lines To The Existing Test Resource To Verify the Other Cases Also Working .

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/externalInput/I33061_ActionWithoutCommandInCashUp.java
R src-test/org/openbravo/test/mobile/quarantine/pack/JGA/system/externalinput/I33061_ActionWithoutCommandInCashUp.java
---