Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039196Retail ModulesWeb POSpublic2018-08-29 13:382018-10-05 16:29
malsasua 
rqueralta 
normalmajoralways
closedfixed 
5
 
RR19Q1 
marvintm
No
0039196: Cache should be cleaned in device when it is linked to terminal
When a device is linked to device, the cache should be cleaned or message error should be displayed until the cache is cleaned

In other case, corruption data can be generated
with terminal authentication enabled:

[POS device1]
. link device1
. do sales

[BO]
. unlink device1

[POS device2]
. link device2
. do sales
. do cashup

[BO]
. unlink device2

[POS device1]
. link device1
. do sales
. do cashup

Error: Record is stuck in Error While Importing with "Cashup is processed and it can not be processed again"
No tags attached.
Issue History
2018-08-29 13:38malsasuaNew Issue
2018-08-29 13:38malsasuaAssigned To => Retail
2018-08-29 13:38malsasuaResolution time => 1537394400
2018-08-29 13:38malsasuaTriggers an Emergency Pack => No
2018-09-10 22:15rqueraltaAssigned ToRetail => rqueralta
2018-09-11 15:05rqueraltaStatusnew => scheduled
2018-09-20 14:41hgbotCheckin
2018-09-20 14:41hgbotNote Added: 0106888
2018-09-20 14:41hgbotStatusscheduled => resolved
2018-09-20 14:41hgbotResolutionopen => fixed
2018-09-20 14:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0047992535bcb190da95120eb11ec4d851ff7dc0 [^]
2018-09-21 11:30marvintmReview Assigned To => marvintm
2018-09-21 11:30marvintmStatusresolved => closed
2018-09-21 11:30marvintmFixed in Version => RR18Q4
2018-09-25 15:28hgbotCheckin
2018-09-25 15:28hgbotNote Added: 0107019
2018-09-25 15:29migueldejuanaNote Added: 0107020
2018-09-25 15:29migueldejuanaStatusclosed => new
2018-09-25 15:29migueldejuanaResolutionfixed => open
2018-09-25 15:29migueldejuanaFixed in VersionRR18Q4 =>
2018-10-05 15:15hgbotCheckin
2018-10-05 15:15hgbotNote Added: 0107192
2018-10-05 15:15hgbotStatusnew => resolved
2018-10-05 15:15hgbotResolutionopen => fixed
2018-10-05 15:15hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0047992535bcb190da95120eb11ec4d851ff7dc0 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/75f6cb98b27e05f3fdd013bcf32ba11ade0761ea [^]
2018-10-05 15:16hgbotCheckin
2018-10-05 15:16hgbotNote Added: 0107193
2018-10-05 16:29marvintmStatusresolved => closed
2018-10-05 16:29marvintmFixed in Version => RR19Q1

Notes
(0106888)
hgbot   
2018-09-20 14:41   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0047992535bcb190da95120eb11ec4d851ff7dc0
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Tue Sep 18 14:00:02 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0047992535bcb190da95120eb11ec4d851ff7dc0 [^]

Fixed issue 39196: Cache should be cleaned in device when it is linked to
terminal

- Cleared cache after unlinked device and fixed call to logout function from
undefined object

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0107019)
hgbot   
2018-09-25 15:28   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5f15996caff8a190f03fac7dd504d5e3da928fcd
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Sep 25 15:28:32 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5f15996caff8a190f03fac7dd504d5e3da928fcd [^]

Related issue 39196: Cache should be cleaned in device when it is linked to terminal

- Breaking 2 tests: SecureTerminalConfChange and TerminalAuthenticationAndCacheSession
-Backed out changeset 0047992535bc

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0107020)
migueldejuana   
2018-09-25 15:29   
Breaking tests
(0107192)
hgbot   
2018-10-05 15:15   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 75f6cb98b27e05f3fdd013bcf32ba11ade0761ea
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Sep 26 10:46:43 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/75f6cb98b27e05f3fdd013bcf32ba11ade0761ea [^]

Fixed issue 39196: Cache should be cleaned in device when it is linked to
terminal

- Cleared cache after unlinked device and fixed call to logout function from
undefined object
- Fix 2 broken test: SecureTerminalConfChange and
TerminalAuthenticationAndCacheSession

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0107193)
hgbot   
2018-10-05 15:16   
Repository: tools/automation/pi-mobile
Changeset: 6e9b048c47733b01fa64c7b93fd16a41cc1c9ab7
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Sep 26 13:22:41 2018 -0400
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6e9b048c47733b01fa64c7b93fd16a41cc1c9ab7 [^]

Related to issue 39196: Cache should be cleaned in device when it is linked to
terminal

- Test updated: SecureTerminalConfChange and TerminalAuthenticationAndCacheSession

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/SecureTerminalConfChange.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/TerminalAuthenticationAndCacheSession.java
---