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

Inconsistency in PortletRequest attribute handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.4, 1.2.0
    • portlet container
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: