ICEfaces
  1. ICEfaces
  2. ICE-6720

Content-Type is null for xmlhttp/blank

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: EE-2.0.0.GA, 2.0.2
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces

      Description


      When the blank iframe is requested, the Content-Type is not set (due to mimeType being null in CompatResourceServlet)

               httpServletResponse.setHeader("Content-Type", mimeType);


      GET /component-showcase/xmlhttp/blank HTTP/1.1

      HTTP/1.1 200 OK
      Server: Apache-Coyote/1.1
      Last-Modified: Thu, 31 Mar 2011 12:22:21 MDT
      Content-Encoding: gzip
      Content-Length: 118
      Date: Thu, 31 Mar 2011 18:22:53 GMT

        Activity

        Hide
        Ted Goddard added a comment -

        May be causing "blank" iframe problems for CSC.

        Show
        Ted Goddard added a comment - May be causing "blank" iframe problems for CSC.
        Hide
        Ted Goddard added a comment -

        The content can be fetched directly without using panelPopup:

        http://localhost:8080/component-showcase/xmlhttp/blank

        Show
        Ted Goddard added a comment - The content can be fetched directly without using panelPopup: http://localhost:8080/component-showcase/xmlhttp/blank
        Hide
        Ted Goddard added a comment -

        Note that this is not confirmed as being the source of the bug seen by CSC, but it is certainly a bug worth fixing.

        Show
        Ted Goddard added a comment - Note that this is not confirmed as being the source of the bug seen by CSC, but it is certainly a bug worth fixing.
        Hide
        yip.ng added a comment - - edited

        Done. See screenshot 1.

        Revision: 24325


        Modified : /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/webapp/CompatResourceServlet.java

        Revision: 24326


        Modified : /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/core/src/main/java/com/icesoft/faces/webapp/CompatResourceServlet.java

        Revision: 24327


        Modified : /icefaces2/branches/ICE-6403/icefaces/compat/core/src/main/java/com/icesoft/faces/webapp/CompatResourceServlet.java

        Show
        yip.ng added a comment - - edited Done. See screenshot 1. Revision: 24325 Modified : /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/webapp/CompatResourceServlet.java Revision: 24326 Modified : /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/core/src/main/java/com/icesoft/faces/webapp/CompatResourceServlet.java Revision: 24327 Modified : /icefaces2/branches/ICE-6403/icefaces/compat/core/src/main/java/com/icesoft/faces/webapp/CompatResourceServlet.java

          People

          • Assignee:
            yip.ng
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: