You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Scott Nicklous (JIRA)" <ji...@apache.org> on 2014/09/04 08:58:51 UTC

[jira] [Created] (PLUTO-631) TCK: Query string parameters provided to getRequestDispatcher not handled correctly

Scott Nicklous created PLUTO-631:
------------------------------------

             Summary: TCK: Query string parameters provided to getRequestDispatcher not handled correctly
                 Key: PLUTO-631
                 URL: https://issues.apache.org/jira/browse/PLUTO-631
             Project: Pluto
          Issue Type: Bug
            Reporter: Scott Nicklous
            Priority: Minor


The JSR286 spec states "Parameters specified in the query string used to create the PortletRequestDispatcher must be aggregated with the portlet render parameters and take precedence over other portlet render parameters of the same name passed to the included servlet or JSP.". This is handled incorrectly for includes as well as forwards in all portlet phases.

Failing test cases:
1) V2DispatcherTests2_SPEC2_19_IncludeJSPAction_dispatch1 results:

Test Failed

Details: If the path provided to getRequestDispatcher method contains query strings, parameters specified in the query strings must be passed to the target servlet during an include. qparm1=null, qparm2=null

2) V2DispatcherTests2_SPEC2_19_IncludeJSPAction_dispatch2 results:

Test Failed

Details: Parameters specified in the query strings must be aggregated with the portlet render parameters. qparm2 is null

3) V2DispatcherTests2_SPEC2_19_IncludeJSPAction_dispatch3 results:

Test Failed

Details: If query string parameters have the same names as render parameter names, the query string parameters appear in the parameter values array before the render parameter values. qparm1=null, qparm2=null

(all dispatch1, dispatch2, & dispatch3 tests fail)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)