Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030382Retail ModulesWeb POSpublic2015-07-16 12:262015-09-29 12:44
aaroncalero 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
pi 
RR15Q4 
marvintm
No
0030382: The incremental refresh is not done when the Sessions module is installed
When the sessions module is installed along with the retail installation, the incremental refresh of the data is never executed even if it is correctly configured.
The Sessions module disables the cache, therefore the loggedusingcache attribute of the terminal is always false and this is causing the incremental refresh not to be executed.
Install the Sessions module in a retail installation.
Configure the terminal & terminal type to use the incremental refresh.
Verify that the first load of the POS executes a full refresh.
Verify that following loads of the POS execute neither the full nor the incremental refresh.
No tags attached.
blocks defect 0030271RR16Q1 closed jorge-garcia Preferences are not reloaded when loging in the Web POS 
Issue History
2015-07-16 12:26aaroncaleroNew Issue
2015-07-16 12:26aaroncaleroAssigned To => marvintm
2015-07-16 12:26aaroncaleroTriggers an Emergency Pack => No
2015-07-20 12:52jorge-garciaAssigned Tomarvintm => jorge-garcia
2015-09-10 16:36jorge-garciaStatusnew => scheduled
2015-09-17 19:10hgbotCheckin
2015-09-17 19:10hgbotNote Added: 0080465
2015-09-17 19:10hgbotCheckin
2015-09-17 19:10hgbotNote Added: 0080466
2015-09-17 19:10hgbotStatusscheduled => resolved
2015-09-17 19:10hgbotResolutionopen => fixed
2015-09-17 19:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9625e56eaba8a69ee3755f566d0c7998b8c028d5 [^]
2015-09-17 19:10hgbotCheckin
2015-09-17 19:10hgbotNote Added: 0080467
2015-09-22 12:00OrekariaReview Assigned To => marvintm
2015-09-29 12:44marvintmStatusresolved => closed
2015-09-29 12:44marvintmFixed in Version => RR15Q4
2015-12-11 12:47OrekariaRelationship addedblocks 0030271

Notes
(0080465)
hgbot   
2015-09-17 19:10   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 80f4eccdc8179434eca90a9011817d86d6920e71
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Sep 16 18:49:15 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/80f4eccdc8179434eca90a9011817d86d6920e71 [^]

Related to issue 30382: The incremental refresh is not done with the Sessions

The flow of the incremental refresh must change accordingly to the changes in
the login process.

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0080466)
hgbot   
2015-09-17 19:10   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9625e56eaba8a69ee3755f566d0c7998b8c028d5
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Sep 17 16:13:54 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9625e56eaba8a69ee3755f566d0c7998b8c028d5 [^]

Fixed issue 30382: The incremental refresh is not done with the Sessions module

If the Sessions module is installed, the incremental refresh of the masterdata
is not done.

Due to the improvement in performance done by the project of High Volumes, a
re-factor in the login process has been done.

The new changes includes the elimination of the flag “loggedUsingCache” from
the login process. The flow in that cases has been deleted, keeping in mind the
full and incremental refresh flow, and the offline login flow.

---
M web/org.openbravo.mobile.core/source/data/ob-windowmodel.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilitiesui.js
---
(0080467)
hgbot   
2015-09-17 19:10   
Repository: tools/automation/pi-mobile
Changeset: 77110355e0a91908a849bde0af540a622b3987b1
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Thu Sep 17 18:51:33 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/77110355e0a91908a849bde0af540a622b3987b1 [^]

Verifies issue 30382: Added two test for this issue

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I30271_PreferencesUpdatedWithFullRefresh.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I30271_PreferencesUpdatedWithIncrementalRefresh.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I30382_MasterDataUpdatedWithFullRefresh.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I30382_MasterDataUpdatedWithIncrementalRefresh.java
---