Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-291

JSR168 Portlet assumes PortletRequest extends HttpServletRequest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 1.0 B1
    • Containers
    • N/A
    • N/A

    Description

      in the method XWikiPortletRequest.getRequestURL() you return null if PortletRequest is not an instance of HttpServletRequest.

      public StringBuffer getRequestURL()

      { if (request instanceof HttpServletRequest) return getHttpServletRequest().getRequestURL(); return null; }

      returning null causes others parts of your code to throw a null pointer.

      The 168 spec does not specify that the PortletRequest must extend the HttpServletRequest. Our Weblog Portal implementation does not have this type of ralationship and is therefore failing. We would like to get xwiki up and running in Weblogic Portal any chance we can get a fix for this?

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            jolleyc Chris jolley
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: