[
https://jira.jboss.org/browse/GTNPORTAL-1448?page=com.atlassian.jira.plug...
]
Vu Viet Phuong updated GTNPORTAL-1448:
--------------------------------------
Attachment: 2010-08-30-GTNPORTAL-1448.patch
The attached patch fix this issues. But i don't know if it is an perfect solution, may
be we need to fix at lower layer
Before we install org.exoplatform.portal.application.localization.LocalizationFilter. I
can register new User normally, but after install it, we have this issue This filter is
used to wrap the ServletFacade object (created by tomcat).
In portal side, everything work properly, but in portlet side (after the call to portlet
container api) . The http session we retrieve from the request object (actually the
wrapper) is wrong
After debuging, i can see that if we don't install LocalizationFilter (we don't
wrap the ServletFacade) , and in each request, the org.gatein.wci.command.CommandServlet
call to org.apache.catalina.core.ApplicationDispatcher to wrap the ServletFacade to
ApplicationHttpRequest. In portlet, we can retrieve the correct HttpSession object throw
this ApplicationHttpRequest
If we install LocalizationFilter (wrap the ServletFacade to HttpRequestWrapper object) .
the next step in each request is similar to steps i described above, but there are a
difference : ApplicationDispatcher doesn't wrap the ServletFacade ,now it wrap the
HttpRequestWrapper, and the local variable crossContext is set to true --> In portlet,
when i call HttpRequestWrapper#getSession() , it return the wrong HttSession.
That make the CaptchaValidator can't retrieve the Captcha object from the session
Can't register new User : always show popup message "Text
verification isn't correct"
-------------------------------------------------------------------------------------
Key: GTNPORTAL-1448
URL:
https://jira.jboss.org/browse/GTNPORTAL-1448
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Vu Viet Phuong
Assignee: Vu Viet Phuong
Attachments: 2010-08-30-GTNPORTAL-1448.patch
- Go to register page
- Fill all the required field with correct data
- Click Subcribe
Portal show popup message "Text verification isn't correct" --> bug
Expect: register successfully
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira