Pluto
  1. Pluto
  2. PLUTO-454

JSR-286 RI driver does not support more than one public render parameter

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1-286-COMPATIBILITY, 2.0.0
    • Fix Version/s: 2.0.0
    • Labels:
      None

      Description

      JSR-286 RI drivers (in 1.1-286-COMPATIBILITY and 1.1-286-trunk-merge branches) does not support more than one public render parameter. I believe this stems from the fact that render parameters are stored in a Map keyed by window ID and all public render parameters are given a null window ID value.

      Public render parameters are new in the Portlet 2.0 (JSR-286) specification (see PLT.11.1.2), so this bug does not impact any Pluto 1.x versions that implement the Portlet 1.0 (JSR-168) specification.

        Activity

        Hide
        Ate Douma added a comment -

        Fixed

        Show
        Ate Douma added a comment - Fixed
        Hide
        Craig Doremus added a comment - - edited

        This issue was discovered when I was creating testsuite tests for public render parameters as described in PLUTO-367. In particular, please notice the comment (https://issues.apache.org/jira/browse/PLUTO-367#action_12554129) that describes where the lack of null checks in the code has the potential for throwing a NullPointerException.

        Show
        Craig Doremus added a comment - - edited This issue was discovered when I was creating testsuite tests for public render parameters as described in PLUTO-367 . In particular, please notice the comment ( https://issues.apache.org/jira/browse/PLUTO-367#action_12554129 ) that describes where the lack of null checks in the code has the potential for throwing a NullPointerException.
        Hide
        Craig Doremus added a comment -

        Edited typo

        Show
        Craig Doremus added a comment - Edited typo

          People

          • Assignee:
            Craig Doremus
            Reporter:
            Craig Doremus
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development