Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034381Retail ModulesWeb POSpublic2016-11-03 17:242016-12-21 17:36
migueldejuana 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR17Q1 
marvintm
pi
No
0034381: RFID is not activated after closing popup
RFID is not activated after closing popup. If we have RFID activated and ready to read and a popup is opened(RFID is not active because the focus is in the popup), after closing it, the RFID should be activated again.
- Enable RFID
 * Set to Y RFID preference
 * In Pos Terminal Type, check "Use RFID"
 * In Pos terminal, set Hardware URL with http://localhost:8090/printer [^]
- Start hardware manager
- Login
- The RFID image is green
- In Hardware Manager in RFID tab, enter "303C000000A5DDC000000001" code and send it
- An error popup is shown, close it
- ERROR! The RFID image is red (inactive)
No tags attached.
depends on backport 0034730RR16Q4.1 closed ranjith_qualiantech_com RFID is not activated after closing popup 
Issue History
2016-11-03 17:24migueldejuanaNew Issue
2016-11-03 17:24migueldejuanaAssigned To => Retail
2016-11-03 17:24migueldejuanaRegression introduced in release => pi
2016-11-03 17:24migueldejuanaTriggers an Emergency Pack => No
2016-11-03 17:26migueldejuanaNote Added: 0091085
2016-11-10 16:07ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-11-10 16:07ranjith_qualiantech_comStatusnew => scheduled
2016-11-23 09:44hgbotCheckin
2016-11-23 09:44hgbotNote Added: 0091756
2016-11-25 11:27hgbotCheckin
2016-11-25 11:27hgbotNote Added: 0091831
2016-11-25 11:27hgbotStatusscheduled => resolved
2016-11-25 11:27hgbotResolutionopen => fixed
2016-11-25 11:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6ca3dad642244c8e86e92609efae572b9fae8ecd [^]
2016-11-25 11:31hgbotCheckin
2016-11-25 11:31hgbotNote Added: 0091832
2016-12-14 14:34marvintmStatusresolved => new
2016-12-14 14:34marvintmResolutionfixed => open
2016-12-14 14:34marvintmStatusnew => scheduled
2016-12-14 14:35marvintmNote Added: 0092352
2016-12-15 06:25hgbotCheckin
2016-12-15 06:25hgbotNote Added: 0092378
2016-12-15 06:25hgbotCheckin
2016-12-15 06:25hgbotNote Added: 0092379
2016-12-15 06:25hgbotStatusscheduled => resolved
2016-12-15 06:25hgbotResolutionopen => fixed
2016-12-15 06:25hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6ca3dad642244c8e86e92609efae572b9fae8ecd [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/39865d7ca1afd3ee83212904a9443ffd81c46bc6 [^]
2016-12-15 10:56marvintmNote Added: 0092412
2016-12-15 10:56marvintmStatusresolved => new
2016-12-15 10:56marvintmResolutionfixed => open
2016-12-15 12:44ranjith_qualiantech_comStatusnew => scheduled
2016-12-16 07:14hgbotCheckin
2016-12-16 07:14hgbotNote Added: 0092424
2016-12-16 07:54hgbotCheckin
2016-12-16 07:54hgbotNote Added: 0092425
2016-12-16 09:33ranjith_qualiantech_comStatusscheduled => resolved
2016-12-16 09:33ranjith_qualiantech_comResolutionopen => fixed
2016-12-16 09:37marvintmReview Assigned To => marvintm
2016-12-16 09:37marvintmStatusresolved => closed
2016-12-16 09:37marvintmFixed in Version => RR17Q1
2016-12-16 13:06ranjith_qualiantech_comNote Added: 0092486
2016-12-16 13:06ranjith_qualiantech_comStatusclosed => new
2016-12-16 13:06ranjith_qualiantech_comResolutionfixed => open
2016-12-16 13:06ranjith_qualiantech_comFixed in VersionRR17Q1 =>
2016-12-16 13:06ranjith_qualiantech_comStatusnew => scheduled
2016-12-16 13:18hgbotCheckin
2016-12-16 13:18hgbotNote Added: 0092490
2016-12-20 10:25ranjith_qualiantech_comNote Added: 0092829
2016-12-20 10:25ranjith_qualiantech_comStatusscheduled => resolved
2016-12-20 10:25ranjith_qualiantech_comResolutionopen => fixed
2016-12-21 17:36marvintmStatusresolved => closed
2016-12-21 17:36marvintmFixed in Version => RR17Q1

Notes
(0091085)
migueldejuana   
2016-11-03 17:26   
It is working fine in 16Q3.2 but not sure if it happening in 16Q4. It is reproducible in pi.
(0091756)
hgbot   
2016-11-23 09:44   
Repository: tools/automation/pi-mobile
Changeset: e28f9229adee62601b5e2601cb29b066c704ca9e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Nov 23 14:10:59 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/e28f9229adee62601b5e2601cb29b066c704ca9e [^]

Verifies issue 34381 : Modified automated test 'I34416_VerifyUndoOnDeleteLineWithPref'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I34416_VerifyUndoOnDeleteLineWithPref.java
---
(0091831)
hgbot   
2016-11-25 11:27   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6ca3dad642244c8e86e92609efae572b9fae8ecd
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Nov 25 15:56:47 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6ca3dad642244c8e86e92609efae572b9fae8ecd [^]

Fixes issue 34381 : Connect/Disconnect RFID when popup/modal is opened

* By default, set scanMode as true to enable RFID by default
* RFID should be disabled, when search, payment tab is showing
* Disconnect RFID when popup/modal is opened, Connect RFID when popup/modal is closed

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
M web/org.openbravo.retail.posterminal/js/utils/preScanningFocusHook.js
M web/org.openbravo.retail.posterminal/js/utils/rfidWebsocket.js
---
(0091832)
hgbot   
2016-11-25 11:31   
Repository: tools/automation/pi-mobile
Changeset: 9ec18b3a0c1aa1d72c417ea65c08358a27aa20c7
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Nov 25 15:45:28 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/9ec18b3a0c1aa1d72c417ea65c08358a27aa20c7 [^]

Verifies issue 34381 : Added automated test 'I34381_VerifyRFIDWhenPopupOpened'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/rfid/DisableScaningFocusRFID.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/externalInput/I34004_EnableKeyboardAndDisableRFIDInPaymentsTab.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/rfid/I34381_VerifyRFIDWhenPopupOpened.java
---
(0092352)
marvintm   
2016-12-14 14:35   
After the change, the external keyboard cannot be used to add payments in the Payment tab, and this is not correct.
(0092378)
hgbot   
2016-12-15 06:25   
Repository: tools/automation/pi-mobile
Changeset: 8183a4fbe50696ec03720e507e3c1e25d5b45e1b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Dec 15 10:51:49 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/8183a4fbe50696ec03720e507e3c1e25d5b45e1b [^]

Verifies issue 34381 : Added automated test 'I34381_VerifyRFIDOnPaymentTab'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/rfid/I34381_VerifyRFIDOnPaymentTab.java
---
(0092379)
hgbot   
2016-12-15 06:25   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 39865d7ca1afd3ee83212904a9443ffd81c46bc6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Dec 15 10:52:01 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/39865d7ca1afd3ee83212904a9443ffd81c46bc6 [^]

Fixes issue 34381 : External Input should be enabled in Payment tab

* While showing payment tab, RFID Should be disabled & External Input should be enabled(if configured)

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-left.js
---
(0092412)
marvintm   
2016-12-15 10:56   
There is still a problem with the latest change:
- Go to scan. RFID is enabled.
- Add products.
- Go to payment tab. RFID is disabled, but keyboard still works. This is correct.
- Open Receipt properties popup. RFID is still disabled. This is correct also.
- Close popup. RFID is now enabled. This is wrong, as the payment tab is still active, and RFID should be disabled in this case.
(0092424)
hgbot   
2016-12-16 07:14   
Repository: tools/automation/pi-mobile
Changeset: c5725f0ce514ab5fdf5d0b319121f24e882d7022
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 16 11:39:53 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/c5725f0ce514ab5fdf5d0b319121f24e882d7022 [^]

Verifies issue 34381 : Modified automated test 'I34381_VerifyRFIDOnPaymentTab'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/rfid/I34381_VerifyRFIDOnPaymentTab.java
---
(0092425)
hgbot   
2016-12-16 07:54   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ea7f8e6e62e7c10ecc4c855716ec21e6d1aa37d6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 16 11:40:23 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ea7f8e6e62e7c10ecc4c855716ec21e6d1aa37d6 [^]

Related to issue 34381 : External Input should be enabled in Payment tab

* While showing payment tab, RFID Should be disabled & External Input should be enabled(if configured)

---
M web/org.openbravo.retail.posterminal/js/utils/preScanningFocusHook.js
---
(0092486)
ranjith_qualiantech_com   
2016-12-16 13:06   
Test I34004_EnableKeyboardAndDisableRFIDInPaymentsTab failed in quarantine
(0092490)
hgbot   
2016-12-16 13:18   
Repository: tools/automation/pi-mobile
Changeset: ec320c89cc4a0ac6fbdb46fb55adaf6ea8679f94
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Dec 16 17:47:46 2016 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ec320c89cc4a0ac6fbdb46fb55adaf6ea8679f94 [^]

Verifies issue 34381 : Modified automated test 'I34004_EnableKeyboardAndDisableRFIDInPaymentsTab'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/externalInput/I34004_EnableKeyboardAndDisableRFIDInPaymentsTab.java
---
(0092829)
ranjith_qualiantech_com   
2016-12-20 10:25   
Test I34004_EnableKeyboardAndDisableRFIDInPaymentsTab failed in quarantine.
Fixed the test and pushed