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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036665
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2017-08-18 09:272017-09-15 13:22
ReportermarvintmView Statuspublic 
Assigned Toguilleaer 
PriorityimmediateResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revision80a269129a35
ProjectionnoneETAnoneTarget VersionRR17Q3
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

0036665: 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 Filesdiff file icon 36664_q3.diff [^] (1,813 bytes) 2017-09-04 14:51 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0036664 closedguilleaer Problem when using manual roles when having the sessions module installed 

-  Notes
(0098824)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2017-08-18 09:28 marvintm Type defect => backport
2017-08-18 09:28 marvintm Target Version => RR17Q3
2017-09-04 14:51 guilleaer File Added: 36664_q3.diff
2017-09-05 10:10 hgbot Checkin
2017-09-05 10:10 hgbot Note Added: 0098824
2017-09-05 10:10 hgbot Status scheduled => resolved
2017-09-05 10:10 hgbot Resolution open => fixed
2017-09-05 10:10 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/80a269129a354712536c07f0cbec7d23cc80e817 [^]
2017-09-15 11:48 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 => RR17Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker