Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-626

TCK: ResourceRequestWrapper#getPrivateRenderParameterMap method calls wrong wrapped method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • portlet container
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            msnicklous Scott Nicklous
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified