Action and Portlet URLs were not encoded by the Portlet Container when being generated for a JSF portlet by the Portlet Bridge. If a browser had cookies disabled, the generated URLs did not contain the SessionID parameter. Therefore any Session state associated with a portlet were not retained between requests. The implemented fix calls the Portlet Container to encode the Action and Portlet URLs generated by the Portlet Bridge. The SessionID parameter is now present and the portlet state is retained across requests
Created attachment 795644[details]
Numberguess portlet application to reproduce the problem
Description of problem:
Disabling cookies breaks JSF application, as the URL encoding is missing.
Platform issue for PBR-541.
How reproducible:
Attaching a portlet version of the numberguess example as reproducer.
Steps to Reproduce:
1. Deploy the application, and add it to a page
2. Ensure that cookies are not allowed
3. Start the numberguess example, and notice that the game is restarted on each guess. The session state is not maintained.
Actual results:
Session state is not maintained across requests.
Expected results:
Session is reused.
Additional info:
Document URL:
Section Number and Name:
Describe the issue:
Suggestions for improvement:
Additional information:
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Comment 2JBoss JIRA Server
2013-09-10 13:10:51 UTC
Ken Finnigan <ken> updated the status of jira PBR-541 to Closed
Created attachment 795644 [details] Numberguess portlet application to reproduce the problem Description of problem: Disabling cookies breaks JSF application, as the URL encoding is missing. Platform issue for PBR-541. How reproducible: Attaching a portlet version of the numberguess example as reproducer. Steps to Reproduce: 1. Deploy the application, and add it to a page 2. Ensure that cookies are not allowed 3. Start the numberguess example, and notice that the game is restarted on each guess. The session state is not maintained. Actual results: Session state is not maintained across requests. Expected results: Session is reused. Additional info: Document URL: Section Number and Name: Describe the issue: Suggestions for improvement: Additional information: Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: