Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036665Retail ModulesWeb POSpublic2017-08-18 09:272017-09-15 13:22
marvintm 
guilleaer 
immediatemajoralways
closedfixed 
5
 
RR17Q3RR17Q3 
marvintm
Packaging and release
2017-04-12
main
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c0b32b2cd2e2 [^]
No
0036665: Problem when using manual roles when having the sessions module installed
There is a problem when trying to log in the Web POS when using a manual role, if the Sessions module is installed. The login fails with the following error:

"Window access denied"

(see attached screenshot).
- Install Retail and the sessions module
- Go to the terminal PS-1
- Try to login with user posets. Verify that the mentioned error appears.
The cause of the problem is the following lines in the ob-terminal-model.js file:

if (destinationWindow.permission) {
        if (!OB.MobileApp.model.hasPermission(windowName)) {

The call to hasPermission should have "destinationWindow.permission" as a parameter, and not "windowName".
No tags attached.
blocks defect 0036664 closed guilleaer Problem when using manual roles when having the sessions module installed 
diff 36664_q3.diff (1,813) 2017-09-04 14:51
https://issues.openbravo.com/file_download.php?file_id=11034&type=bug
Issue History
2017-08-18 09:28marvintmTypedefect => backport
2017-08-18 09:28marvintmTarget Version => RR17Q3
2017-09-04 14:51guilleaerFile Added: 36664_q3.diff
2017-09-05 10:10hgbotCheckin
2017-09-05 10:10hgbotNote Added: 0098824
2017-09-05 10:10hgbotStatusscheduled => resolved
2017-09-05 10:10hgbotResolutionopen => fixed
2017-09-05 10:10hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/80a269129a354712536c07f0cbec7d23cc80e817 [^]
2017-09-15 11:48marvintmAssigned ToRetail => guilleaer
2017-09-15 13:22marvintmReview Assigned To => marvintm
2017-09-15 13:22marvintmStatusresolved => closed
2017-09-15 13:22marvintmFixed in Version => RR17Q3

Notes
(0098824)
hgbot   
2017-09-05 10:10   
Repository: retail/backports/3.0RR17Q3/org.openbravo.mobile.core
Changeset: 80a269129a354712536c07f0cbec7d23cc80e817
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Sep 05 10:10:12 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/80a269129a354712536c07f0cbec7d23cc80e817 [^]

Fixed issue 36665 Backport of 36664: Property Permission instead of prperty route will be checked to give acces to a certain window

---
M web/org.openbravo.mobile.core/source/component/ob-menu.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---