Pluto
  1. Pluto
  2. PLUTO-369

Inconsistency in PortletRequest attribute handling

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

        Activity

        Tuomas Kiviaho created issue -
        Craig Doremus made changes -
        Field Original Value New Value
        Assignee Craig Doremus [ cdoremus ]
        Hide
        Craig Doremus added a comment -

        Fixed in PortletRequestImpl in SVN trunk revision 553851 and pluto-1.1.x revision 553855

        Show
        Craig Doremus added a comment - Fixed in PortletRequestImpl in SVN trunk revision 553851 and pluto-1.1.x revision 553855
        Craig Doremus made changes -
        Fix Version/s 1.1.4 [ 12312421 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.2.0 [ 12312213 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Elliot Metsger made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12404450 ] Default workflow, editable Closed status [ 12564981 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12564981 ] jira [ 12586185 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development