ICEfaces
  1. ICEfaces
  2. ICE-6891

PersistentFacesServlet returns a HTTP 200 code instead of returning the correct HTTP error status

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P02
    • Fix Version/s: EE-1.8.2.GA_P03
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      -

      Description

      In addition to ICE-6862 which was resolved in 1.8.2 P03, the customer has noticed that the PersistentFacesServlet also answers requests for URLs containing "/xmlhttp/*" and exhibits the same behavior in ICE-6682. For a fake URL (ex. ../xmlhttp/phpMyAdmin/debug.html) it first returns a blank page with an HTTP 200 and only on the second invocation returns HTTP 500.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24751 Thu Jun 02 05:47:19 MDT 2011 jack.van.ooststroom ICE-6891 Stop caching of the responses that do not return 200 HTTP status code. (Commit done for Mircea)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/common/standard/CacheControlledServer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24745 Wed Jun 01 15:45:48 MDT 2011 mircea.toma ICE-6891 Restore default view handler while exception is caught while trying to serve an non JSF page.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24692 Wed May 25 14:18:29 MDT 2011 mircea.toma ICE-6891 Introduced TemplateNotFound runtime exception that can be bubble through without having JSF logging its stack trace.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/D2DViewHandler.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java
        Commit graph ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/TemplateNotFound.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24662 Mon May 23 07:25:46 MDT 2011 mircea.toma ICE-6891 Throw FileNotFoundException when the template corresponding to the requested URL cannot be found. Capture FileNotFoundException and respond with a HTTP 404 message. Detect any request for resources that does not match a registered resource to respond with a HTTP 404 message.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/D2DViewHandler.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ResourceServer.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: