Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030272Retail ModulesWeb POSpublic2015-06-29 12:442015-07-30 15:24
marvintm 
jorge-garcia 
normalmajorhave not tried
closedout of date 
5
 
RR15Q2.3RR15Q2.3 
Orekaria
Production - Confirmed Stable
RR14Q3
No
0030272: Preferences are not reloaded when loging in the Web POS
When the user logs in the Web POS, the terminal object (which includes some configuration information, like the values for the preferences) should be reloaded. However, this doesn't happen in case the incremental masterdata refresh is not activated.

This forces the user to clear the cache if he wants to see any configuration change, such as changes in the preferences definition.
- Log in the Web POS
- Change some preference value in the backend (such as approvals, or any other configuration)
- Log in again in the Web POS. Verify that the new value is not used.
- Clear the cache. Log in again in the Web POS. Verify that the new value is used.
Approved
blocks defect 0030271RR16Q1 closed jorge-garcia Preferences are not reloaded when loging in the Web POS 
Issue History
2015-06-29 12:44marvintmTypedefect => backport
2015-06-29 12:44marvintmTarget VersionRR15Q3 => RR15Q2.3
2015-06-29 14:02dmitry_mezentsevTag Attached: Approved
2015-07-15 11:18marvintmDescription Updatedbug_revision_view_page.php?rev_id=9018#r9018
2015-07-21 11:54hgbotCheckin
2015-07-21 11:54hgbotNote Added: 0079005
2015-07-21 11:54hgbotStatusscheduled => resolved
2015-07-21 11:54hgbotResolutionopen => fixed
2015-07-21 11:54hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core/rev/a522db26b2f1344a17d96aca30736b65d5379675 [^]
2015-07-21 11:55jorge-garciaAssigned ToRetail => jorge-garcia
2015-07-27 17:29guilleaerReview Assigned To => guilleaer
2015-07-27 17:29guilleaerNote Added: 0079085
2015-07-27 17:29guilleaerStatusresolved => closed
2015-07-27 17:29guilleaerFixed in Version => RR15Q2.3
2015-07-29 12:27jorge-garciaStatusclosed => new
2015-07-29 12:27jorge-garciaResolutionfixed => open
2015-07-29 12:27jorge-garciaFixed in VersionRR15Q2.3 =>
2015-07-30 11:25jorge-garciaStatusnew => scheduled
2015-07-30 11:27hgbotCheckin
2015-07-30 11:27hgbotNote Added: 0079127
2015-07-30 11:29OrekariaStatusscheduled => resolved
2015-07-30 11:29OrekariaFixed in Version => RR15Q2.3
2015-07-30 11:29OrekariaResolutionopen => fixed
2015-07-30 11:29OrekariaReview Assigned Toguilleaer => Orekaria
2015-07-30 11:29OrekariaStatusresolved => closed
2015-07-30 14:55OrekariaNote Added: 0079132
2015-07-30 14:55OrekariaStatusclosed => new
2015-07-30 14:55OrekariaResolutionfixed => open
2015-07-30 14:55OrekariaFixed in VersionRR15Q2.3 =>
2015-07-30 15:22hgbotCheckin
2015-07-30 15:22hgbotNote Added: 0079133
2015-07-30 15:24OrekariaNote Added: 0079134
2015-07-30 15:24OrekariaStatusnew => closed
2015-07-30 15:24OrekariaResolutionopen => out of date
2015-07-30 15:24OrekariaFixed in Version => RR15Q2.3

Notes
(0079005)
hgbot   
2015-07-21 11:54   
Repository: retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core
Changeset: a522db26b2f1344a17d96aca30736b65d5379675
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Jul 21 11:52:21 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core/rev/a522db26b2f1344a17d96aca30736b65d5379675 [^]

Fixed issue 30272: Preferences are not reloaded when login in the Web POS

The problem was that the terminal information is not loaded from backend if
it's set the fully refresh of the terminal.

The solution is to check if there is a fully refresh, and if so, force the
refreshment of the terminal's information from the backend.

Backport for 3.0RR15Q2.3

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0079085)
guilleaer   
2015-07-27 17:29   
Tested and Verified
(0079127)
hgbot   
2015-07-30 11:27   
Repository: retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core
Changeset: 8ebb803a0545313e24ed822fc4a0f4fb0a52a9a1
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jul 30 11:24:39 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core/rev/8ebb803a0545313e24ed822fc4a0f4fb0a52a9a1 [^]

Related to issue 30272: Preferences are not reloaded when login in the Web POS

A change is necessary to stabilization of the retail tests.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0079132)
Orekaria   
2015-07-30 14:55   
When this test is executed several times in a row, the integration reports an issue related to the OB.Format object not being loaded
(0079133)
hgbot   
2015-07-30 15:22   
Repository: retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core
Changeset: e204c806d03516c240539d678398a9189d753cbb
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jul 30 15:21:31 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q2.3/org.openbravo.mobile.core/rev/e204c806d03516c240539d678398a9189d753cbb [^]

Backout issue 30272

Need to investigate futher for stabilization in tests.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0079134)
Orekaria   
2015-07-30 15:24   
This issue will not be backported to Q2.3