Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036664
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-08-18 09:272017-09-15 13:22
ReportermarvintmView Statuspublic 
Assigned Toguilleaer 
PriorityimmediateResolutionfixedFixed in VersionRR17Q4
StatusclosedFix in branchFixed in SCM revision548cb946c566
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelPackaging and release
Regression date2017-04-12
Regression introduced in releasemain
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c0b32b2cd2e2 [^]
Triggers an Emergency PackNo
Summary

0036664: Problem when using manual roles when having the sessions module installed

DescriptionThere 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).
Steps To Reproduce- Install Retail and the sessions module
- Go to the terminal PS-1
- Try to login with user posets. Verify that the mentioned error appears.
Proposed SolutionThe 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".
TagsNo tags attached.
Attached Filespng file icon image.png [^] (74,684 bytes) 2017-08-18 09:28

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0036665RR17Q3 closedguilleaer Problem when using manual roles when having the sessions module installed 

-  Notes
(0098823)
hgbot (developer)
2017-09-05 10:09

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 548cb946c56637366533e3d21774e8244c612421
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Tue Sep 05 08:38:39 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/548cb946c56637366533e3d21774e8244c612421 [^]

Fixed issue 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
---

- Issue History
Date Modified Username Field Change
2017-08-18 09:27 marvintm New Issue
2017-08-18 09:27 marvintm Assigned To => Retail
2017-08-18 09:27 marvintm Triggers an Emergency Pack => No
2017-08-18 09:28 marvintm File Added: image.png
2017-08-18 09:28 marvintm Regression level => Packaging and release
2017-08-18 09:28 marvintm Regression date => 2017-04-12
2017-08-18 09:28 marvintm Regression introduced in release => main
2017-08-18 09:28 marvintm Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c0b32b2cd2e2 [^]
2017-08-18 09:28 marvintm Status new => scheduled
2017-08-18 09:28 marvintm Status scheduled => acknowledged
2017-09-04 13:20 hgbot Checkin
2017-09-04 13:20 hgbot Note Added: 0098805
2017-09-04 13:23 guilleaer Note Deleted: 0098805
2017-09-04 13:31 guilleaer Status acknowledged => scheduled
2017-09-05 10:09 hgbot Checkin
2017-09-05 10:09 hgbot Note Added: 0098823
2017-09-05 10:09 hgbot Status scheduled => resolved
2017-09-05 10:09 hgbot Resolution open => fixed
2017-09-05 10:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/548cb946c56637366533e3d21774e8244c612421 [^]
2017-09-06 09:31 marvintm Assigned To Retail => guilleaer
2017-09-15 13:22 marvintm Review Assigned To => marvintm
2017-09-15 13:22 marvintm Status resolved => closed
2017-09-15 13:22 marvintm Fixed in Version => RR17Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker