Issue Details (XML | Word | Printable)

Key: JS2-194
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ate Douma
Reporter: Johnny Rodriguez
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Jetspeed 2

setRenderParameter affects action params

Created: 15/Jan/05 03:11 PM   Updated: 27/Sep/06 12:45 AM
Return to search
Component/s: Container
Affects Version/s: 2.0-M2
Fix Version/s: 2.0-M3

Time Tracking:
Not Specified

Environment:
Windows XP SP2
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
Tomcat 4.1.29
Issue Links:
Duplicate
 

Resolution Date: 21/Apr/05 06:05 PM


 Description  « Hide
Calling:
javax.portlet.ActionResponse.setRenderParameter(String, String) or
javax.portlet.ActionResponse.setRenderParameter(String, String [])

during a call to:
javax.portlet.Portlet.processAction(ActionRequest, ActionResponse)

causes the specified render parameters to be returned by:
javax.portlet.ActionRequest.getParameter(String),
javax.portlet.ActionRequest.getParameterMap(),
javax.portlet.ActionRequest.getParameterNames() and
javax.portlet.ActionRequest.getParameterValues(String)

during the next call to:
javax.portlet.Portlet.processAction(ActionRequest, ActionResponse)

THIS IS INCORRECT.

The specified render parameters should only be available when calling:
javax.portlet.RenderRequest.getParameter(String),
javax.portlet.RenderRequest.getParameterMap(),
javax.portlet.RenderRequest.getParameterNames() and
javax.portlet.RenderRequest.getParameterValues(String)

during a subsequent call to:
javax.portlet.Portlet.render(RenderRequest, RenderResponse)

and should disappear just before the next call to:
javax.portlet.Portlet.processAction(ActionRequest, ActionResponse)

so that they are not available to subsequent calls to:
javax.portlet.Portlet.render(RenderRequest, RenderResponse)

unless explicitly set again.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ate Douma made changes - 19/Jan/05 07:04 PM
Field Original Value New Value
Assignee Ate Douma [ adouma ]
Ate Douma added a comment - 19/Jan/05 07:06 PM
I will look into this starting next week.

garpinc added a comment - 18/Apr/05 01:50 AM
I think I am experiencing same. Is this a duplicate of http://issues.apache.org/jira/browse/JS2-231 or is this a separate issue?

Ate Douma made changes - 20/Apr/05 06:55 AM
Status Open [ 1 ] In Progress [ 3 ]
Ate Douma added a comment - 20/Apr/05 06:57 AM
Started work on JS2-194. Solving it will solve this too.

Ate Douma made changes - 20/Apr/05 06:57 AM
Link This issue is duplicated by JS2-231 [ JS2-231 ]
Ate Douma added a comment - 21/Apr/05 06:05 PM
Fixed. Please test.

Ate Douma made changes - 21/Apr/05 06:05 PM
Fix Version/s 2.0-M3 [ 11127 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
garpinc added a comment - 25/Apr/05 04:46 AM
If there was a nightly build I could test but I could find none. Is the change only in that java class

Ate Douma added a comment - 25/Apr/05 04:56 AM
There are no nightly builds for Jetspeed.
To be able to test out the changes, you have to checkout a fresh version of Jetspeed-2 from cvs (or update if you already have done so before).

garpinc added a comment - 25/Apr/05 02:08 PM
~ when will jetspeed2 M3 be released. I'll test it then. I don't have the time to set up a build env.

Ate Douma added a comment - 26/Apr/05 08:16 PM
Hopefully M3 will be released in a few weeks time.
Too bad you cannot test it though. If you find problems after M3 is release, you'll have to wait
for another release again to get a fix in.

garpinc added a comment - 30/Apr/05 01:14 AM
If you post it somewhere where I can download it then I can test it. The version I have is called jetspeed-2.0-M2-Tomcat-5.5.8.zip. Alternatively you can tell me all the classes affected by this change and I can override them in my class path.

Alan Cabrera made changes - 27/Sep/06 12:45 AM
Link This issue is duplicated by JS2-231 [ JS2-231 ]
Alan Cabrera made changes - 27/Sep/06 12:45 AM
Link This issue is duplicated by JS2-231 [ JS2-231 ]