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/02 15:26:20 UTC

[jira] [Created] (PLUTO-626) ResourceRequestWrapper#getPrivateRenderParameterMap method calls wrong wrapped method

Scott Nicklous created PLUTO-626:
------------------------------------

             Summary: ResourceRequestWrapper#getPrivateRenderParameterMap method calls wrong wrapped method
                 Key: PLUTO-626
                 URL: https://issues.apache.org/jira/browse/PLUTO-626
             Project: Pluto
          Issue Type: Bug
          Components: portlet container
            Reporter: Scott Nicklous
            Priority: Minor


The ResourceRequestWrapper#getPrivateRenderParameterMap method is
supposed to  call the wrapped ResourceRequest#getPrivateRenderParameterMap,
but instead it calls the getPrivateParameterMap method. This is a bug in
the JSR286 API code itself. 

To reproduce the problem, run the JSR 362 TCK command:
mvn test -Prun-tck -Dtest.module=V2WrapperTests_ResourceRequestWrapper_ApiResource_getPrivateRenderParameterMap

You will see the following error report:
Failed tests:
  TCKSimpleTestDriver.test:275->checkResults:368 Test case V2WrapperTests_ResourceRequestWrapper_ApiResource_getPrivateRenderParameterMap: Details: Method getPrivateRenderParameterMap(): Calls wrapped method. Wrong method called. Expected: getPrivateRenderParameterMap, Actual: getPrivateParameterMap


This will be fixed when the JSR362 API code is integrated into Pluto.



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