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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030883
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Aging Balance Reportmajoralways2015-09-22 00:132015-10-30 12:49
ReporterrbianchiniView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision8e517c8e2c1c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030883: Restrict User to a Single Login Instance not working for Pos and Backoffice

DescriptionRestrict User to a Single Login Instance not working for POS and Backoffice
Steps To Reproduce1. Set login.limit.user.session in Openbravo.properties file to true
2. Compile and restart tomcat
3. Log in to OB full desktop interface with User1
4. Attempt to log into mobile application with User 1
5. Receive the attached error message [OK] - as expected per the properties setting
6. Click OK button
7. Expect OB to end the other session (from 3 above), but that session remains logged on
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0080986)
Orekaria (administrator)
2015-10-13 17:45

There is no way for the webpos to know that other session has been created
The only way to achieve unique sessions is with the secure terminal feature activated
If required, please ask the Retail team for further information
(0081047)
rbianchini (developer)
2015-10-15 17:04

According to the following documentation:
http://wiki.openbravo.com/wiki/Openbravo.properties [^]
|
--> login.limit.user.session: If true, prevents concurrent sessions for the same user. If when log in there is an active session for the same user, existent session will be deactivated.

So, If i have an active session on ERP and I try to login on webPOS, i'll get the following message:
"There is another session active using this username. It might be that you recently closed the browser without logging out. Do you want to end the ither session?"

When you click the OK button, you'll expect that the ERP session ends. But, this is not the actual behavior.
The ERP and the POS remains logged.
(0081339)
hgbot (developer)
2015-10-27 10:35

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8e517c8e2c1c92efc95045b6f1d57c437044b7c1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Oct 26 18:50:53 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8e517c8e2c1c92efc95045b6f1d57c437044b7c1 [^]

Fixed issue 30883. Changed the way login works with login.limit.user.session option in Openbravo.properties:
- Now if this option is enabled, if the backend responds with the corresponding error, a popup will be shown.
- With this popup the user can choose whether to close the existing session and do login, or cancel the operation.

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---

- Issue History
Date Modified Username Field Change
2015-09-22 00:13 rbianchini New Issue
2015-09-22 00:13 rbianchini Assigned To => Triage Finance
2015-09-22 00:13 rbianchini Modules => Core
2015-09-22 00:13 rbianchini Resolution time => 1443063600
2015-09-22 00:13 rbianchini Triggers an Emergency Pack => No
2015-09-23 13:31 vmromanos Assigned To Triage Finance => platform
2015-09-23 16:04 alostale Assigned To platform => Retail
2015-10-13 17:40 Orekaria Status new => acknowledged
2015-10-13 17:43 Orekaria Status acknowledged => scheduled
2015-10-13 17:45 Orekaria Note Added: 0080986
2015-10-13 17:45 Orekaria Status scheduled => feedback
2015-10-15 17:04 rbianchini Review Assigned To => Orekaria
2015-10-15 17:04 rbianchini Note Added: 0081047
2015-10-15 17:04 rbianchini Status feedback => new
2015-10-15 17:04 rbianchini Steps to Reproduce Updated View Revisions
2015-10-26 10:45 Orekaria Status new => acknowledged
2015-10-26 10:45 Orekaria Status acknowledged => scheduled
2015-10-26 10:46 Orekaria Status scheduled => resolved
2015-10-26 10:46 Orekaria Fixed in Version => main
2015-10-26 10:46 Orekaria Fixed in SCM revision => adfasd
2015-10-26 10:46 Orekaria Resolution open => fixed
2015-10-26 10:46 marvintm Status resolved => feedback
2015-10-26 10:46 marvintm Status feedback => new
2015-10-26 11:15 marvintm Project Openbravo ERP => Retail Modules
2015-10-27 10:08 Orekaria Status new => scheduled
2015-10-27 10:08 Orekaria Assigned To Retail => marvintm
2015-10-27 10:35 hgbot Checkin
2015-10-27 10:35 hgbot Note Added: 0081339
2015-10-27 10:35 hgbot Status scheduled => resolved
2015-10-27 10:35 hgbot Fixed in SCM revision adfasd => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8e517c8e2c1c92efc95045b6f1d57c437044b7c1 [^]
2015-10-30 09:46 marvintm Review Assigned To Orekaria => guilleaer
2015-10-30 09:46 marvintm Resolution time 1443063600 => 1443045600
2015-10-30 09:46 marvintm Category 01. General setup => Aging Balance Report
2015-10-30 09:46 marvintm version 3.0PR15Q2.4 =>
2015-10-30 12:49 guilleaer Status resolved => closed
2015-10-30 12:49 guilleaer Fixed in Version main => RR16Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker