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

Inconsistency in PortletRequest attribute handling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.4, 1.2.0
    • Component/s: portlet container
    • Labels:
      None

      Description

      PortletRequest handling of attributes with reserved prefix ('java' or 'javax') is not consistent between getAttribute and getAttributeNames. Former returns values for reserved attributes while latter doesn't iterate over them. I can't find reference from spec which restricts reserved attributes from being iterated over.

      This is annoying when framework on top of the api obscures request attribute semantics. Hence attributes like "javax.portlet.faces.defaultViewId" have to be used with extreme caution.

        Attachments

          Activity

            People

            • Assignee:
              cdoremus Craig Doremus
              Reporter:
              tuomas_kiviaho Tuomas Kiviaho
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: