Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023309Openbravo ERPA. Platformpublic2013-03-14 15:302013-03-27 10:24
alostale 
alostale 
urgentmajorsometimes
closedfixed 
5
 
3.0MP223.0MP22 
marvintm
Core
No
0023309: POS redirected to Openbravo login page
POS based on Mobile Core Infrastructure redirects to Openbravo login page under some circumstances.
-Using latest POS branch for Mobile Core
-Login in POS
-Open in same browser an Openbravo tab
-Logout in this second tab
-Go back to POS, it requieres to login again -> correct
-Login in POS
-In the second tab, reload login page
-Go back to POS, it requires login again -> correct
-Trying to reload POS page redirects to Login page -> incorrect
mobile
related to design defect 00231353.0MP21 closed alostale Bypass authentication resources create sessions 
related to defect 00233233.0MP22 closed alostale Cannot change role using AutologonAuthenticationManager 
Issue History
2013-03-14 15:30alostaleNew Issue
2013-03-14 15:30alostaleAssigned To => alostale
2013-03-14 15:30alostaleModules => Core
2013-03-14 15:30alostaleTriggers an Emergency Pack => No
2013-03-14 15:31alostaleRelationship addedrelated to 0023135
2013-03-14 15:31alostaleTag Attached: mobile
2013-03-14 15:32alostaleReview Assigned To => marvintm
2013-03-14 15:36hgbotCheckin
2013-03-14 15:36hgbotNote Added: 0057258
2013-03-14 15:36hgbotStatusnew => resolved
2013-03-14 15:36hgbotResolutionopen => fixed
2013-03-14 15:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c9c64eb863aabe6d8ada4a9809088768c0f77d07 [^]
2013-03-18 08:12alostaleRelationship addedrelated to 0023323
2013-03-27 10:24marvintmStatusresolved => closed
2013-03-27 10:24marvintmFixed in Version => 3.0MP22

Notes
(0057258)
hgbot   
2013-03-14 15:36   
Repository: erp/devel/pi
Changeset: c9c64eb863aabe6d8ada4a9809088768c0f77d07
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Mar 14 15:35:14 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c9c64eb863aabe6d8ada4a9809088768c0f77d07 [^]

fixed 23309: POS redirected to Openbravo login page

When loading non authenticated services, invalid session without user could be
taken, this caused the resource to trigger a redirect.

Now we also check current session has a valid authenticated user.

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelServlet.java
---