Pluto
  1. Pluto
  2. PLUTO-568

Request attributes with javax not getting namespaced and hence colliding

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: portal driver
    • Labels:
      None

      Description

      PortletRequestContextImpl doesn't encode/decode attributes whose names start with java. or javax. with the portlet instance namespace/prefix. The JSF portlet bridge has defined specific request attributes (that begin with javax.) that are per instance based. What is the rationale for not encoding all request attributes so they are managed on a per portlet instance basis? At a minimum we need a fix that allows some/the bridge's attributes to be properly encoded so that collisions on the same page don't occur.

        Activity

        Hide
        Ate Douma added a comment -

        I've solved this by now only excluding attributes starting with "javax.servlet." as those are really reserved for the underlying servlet container itself.
        Namespacing other attribute names should not cause side-effects.
        Note: this is only a change specific to Pluto Portal Driver, not the portlet container (which does not concern itself with this functionality).

        Show
        Ate Douma added a comment - I've solved this by now only excluding attributes starting with "javax.servlet." as those are really reserved for the underlying servlet container itself. Namespacing other attribute names should not cause side-effects. Note: this is only a change specific to Pluto Portal Driver, not the portlet container (which does not concern itself with this functionality).

          People

          • Assignee:
            Ate Douma
            Reporter:
            Michael Freedman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development