portletspec3
  1. portletspec3
  2. PORTLETSPEC3-27

Errata: PortletMode and WindowState request during resource serving wit FULL cacheability

    Details

      Description

      During a resource serving with cacheability FULL a portlet cannot access the window state and portlet mode (neither the render parameters).

      The specification says is vague and say: "Thus the portlet should not access the portlet mode, window state, or render parameters in the serveResource call."

      The current Javadoc does not specify anything particular , for example PortletRequest#getPortletMode() say "Returns the current portlet mode of the portlet" .

      I think we lack of clarity as we don't specify what PortletRequest#getPortletMode() and PortletRequest#getWindowState() should return in this case.

      I believe it should return null and we should say it clearly in the Javadoc, for example we could redeclare those methods in the ResourceRequest interface and add to the javadoc that in case of FULL cacheability then null is returned.

        Activity

        julien_viet created issue -
        julien_viet made changes -
        Field Original Value New Value
        Summary PortletMode and WindowState request during resource serving wit FULL cacheability Errata: PortletMode and WindowState request during resource serving wit FULL cacheability
        msnicklous made changes -
        Assignee msnicklous [ msnicklous ]
        msnicklous made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        msnicklous made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            msnicklous
            Reporter:
            julien_viet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: