Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021508Openbravo ERPA. Platformpublic2012-08-30 13:372012-09-19 09:59
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
3.0MP15 
AugustoMauch
Core
No
0021508: Components require the user to be logged in to work correctly
Openbravo 3 components allow specific parts of the UI to be implemented. More information about them can be found here:

http://wiki.openbravo.com/wiki/Openbravo_3_Architecture [^]

Components are executed via the KernelServlet, which is an HttpSecureAppServlet child. This means that they will not work unless the user has already logged in. This in turn means that components cannot be used on non-secure servlets, such as the login pages. And, specifically, this also means that a component which generates a dynamic application cache cannot be used.
Try to use the ApplicationCache component in the Web POS when you are not logged in. Notice that it fails.
No tags attached.
related to defect 00216853.0MP17 closed AugustoMauch A non authenticated Component needs to have the AdminMode context by default 
related to design defect 00231343.0MP21 closed alostale StyleSheet components should bypass authentication 
related to design defect 00231353.0MP21 closed alostale Bypass authentication resources create sessions 
Issue History
2012-08-30 13:37marvintmNew Issue
2012-08-30 13:37marvintmAssigned To => marvintm
2012-08-30 13:37marvintmModules => Core
2012-08-30 13:40hgbotCheckin
2012-08-30 13:40hgbotNote Added: 0051684
2012-08-30 13:40hgbotStatusnew => resolved
2012-08-30 13:40hgbotResolutionopen => fixed
2012-08-30 13:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2b882d173e1f33126cc3bf33b4392e7078c927f9 [^]
2012-09-01 01:03hudsonbotCheckin
2012-09-01 01:03hudsonbotNote Added: 0051746
2012-09-03 15:16AugustoMauchClosed by => AugustoMauch
2012-09-03 15:16AugustoMauchNote Added: 0051780
2012-09-03 15:16AugustoMauchStatusresolved => closed
2012-09-03 15:16AugustoMauchFixed in Version => 3.0MP15
2012-09-19 09:57iperdomoRelationship addedrelated to 0021685
2012-09-19 09:59iperdomoNote Added: 0052216
2013-02-21 10:28alostaleRelationship addedrelated to 0023134
2013-02-21 10:32alostaleRelationship addedrelated to 0023135

Notes
(0051684)
hgbot   
2012-08-30 13:40   
Repository: erp/devel/pi
Changeset: 2b882d173e1f33126cc3bf33b4392e7078c927f9
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Aug 30 13:39:45 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2b882d173e1f33126cc3bf33b4392e7078c927f9 [^]

Fixed issue 21508. Added the capability for components not to need the user to have logged in

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseComponent.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelServlet.java
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
---
(0051746)
hudsonbot   
2012-09-01 01:03   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/05b3ea484705 [^]

Maturity status: Test
(0051780)
AugustoMauch   
2012-09-03 15:16   
Code reviewed and verified in pi@8d78c37391b6
(0052216)
iperdomo   
2012-09-19 09:59   
The documentation in the DevGuide was not updated with this new capability:
http://wiki.openbravo.com/wiki/Openbravo_3_Architecture#Component_Provider [^]