Details

      Description

      Test Results:

      There 16 test cases in DispatcherReqRespTests1, DispatcherReqRespTests2, DispatcherReqRespTests3, DispatcherReqRespTests4 fails because of the method HttpServletRequest.getAttributeNames has not provide the same functionality as ActionRequest/EventRequest/RenderRequest/ResourceRequest.getAttributeNames in a target jsp/servlet of a include/forward in the Action/Event/Render/Resource phase.

      For example: Test case V2DispatcherReqRespTests2_SPEC2_19_ForwardServletActionRequest_getAttributeNames: Details: In a target servlet of a forward in the Action phase, the method HttpServletRequest.getAttributeNames must provide the same functionality as ActionRequest.getAttributeNames. In HttpServletRequest attribute names but not in ActionRequest attribute names:

      In ActionRequest attribute names but not in HttpServletRequest attribute names:

      PORTLET_ID INVOKER_FILTER_URI com.liferay.portal.kernel.servlet.PortletServletFilterChain req.attr.test.V2DispatcherReqRespTests4_SPEC2_19_IncludeServletActionRequest_getAttribute com.liferay.portal.kernel.servlet.PortletServletResponse WINDOW_STATE req.attr.test.V2DispatcherReqRespTests4_SPEC2_19_IncludeServletActionRequest_getAttributeNames req.attr.tid com.liferay.portal.kernel.servlet.PortletServletRequest com.liferay.portal.kernel.servlet.PortletServletConfig

      Background:

      There are two reasons for these failures.

      First: The attribute JavaConstants.JAVAX_SERVLET_INCLUDE_PATH_INFO has been removed from the enumeration returned by PortletRequestImpl.getAttributeNames.

      Second: Some attributes has been removed from the enumeration returned by PortletServletRequest.getAttributeNames repeatedly. Because PortletServletRequest.getAttributeNames will use a object of NamespaceServletRequest that may remove some attributes to return the enumeration and the object wrapped another object of NamespaceServletRequest inside itself.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            leon.chi Leon Chi
            Recent user:
            Csaba Turcsan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 17 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 DXP FP35
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                Master