You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Gary VanMatre (JIRA)" <ji...@apache.org> on 2006/05/02 20:00:20 UTC

[jira] Created: (SHALE-172) If a clay full template (XML or HTML) was not found, an incorrect HTTP status code of 500 was reported.

If a clay full template (XML or HTML) was not found, an incorrect HTTP status code of 500 was reported. 
--------------------------------------------------------------------------------------------------------

         Key: SHALE-172
         URL: http://issues.apache.org/struts/browse/SHALE-172
     Project: Shale
        Type: Bug

  Components: Clay  
    Versions: 1.0.1    
    Reporter: Gary VanMatre


The ClayViewHandler uses the response of the FacesContext's ExternalContext casting to a HttpServletResponse.  This is to make the sendError method available.  

I believe that in a portal environment, the dispatch to the servlet should wrapper the RenderResponse with an HttpServletResponse making the sendError method not perform any operation.

This question was asked on the user list a few weeks ago and there was not a response.  I'm not sure if this is a correct assumption.  If this cast cause a problem in a portal server, we can look into using the reflection API to invoke these method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SHALE-172) If a clay full template (XML or HTML) was not found, an incorrect HTTP status code of 500 was reported.

Posted by "Gary VanMatre (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-172?page=all ]
     
Gary VanMatre resolved SHALE-172:
---------------------------------

    Fix Version: Nightly
     Resolution: Fixed
      Assign To: Gary VanMatre

Fixed in the 20060503 shale nightly build. 

> If a clay full template (XML or HTML) was not found, an incorrect HTTP status code of 500 was reported.
> -------------------------------------------------------------------------------------------------------
>
>          Key: SHALE-172
>          URL: http://issues.apache.org/struts/browse/SHALE-172
>      Project: Shale
>         Type: Bug

>   Components: Clay
>     Versions: 1.0.1
>     Reporter: Gary VanMatre
>     Assignee: Gary VanMatre
>      Fix For: Nightly

>
> The ClayViewHandler uses the response of the FacesContext's ExternalContext casting to a HttpServletResponse.  This is to make the sendError method available.  
> I believe that in a portal environment, the dispatch to the servlet should wrapper the RenderResponse with an HttpServletResponse making the sendError method not perform any operation.
> This question was asked on the user list a few weeks ago and there was not a response.  I'm not sure if this is a correct assumption.  If this cast cause a problem in a portal server, we can look into using the reflection API to invoke these method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SHALE-172) If a clay full template (XML or HTML) was not found, an incorrect HTTP status code of 500 was reported.

Posted by "Gary VanMatre (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-172?page=all ]
     
Gary VanMatre resolved SHALE-172:
---------------------------------

    Fix Version: Nightly
     Resolution: Fixed
      Assign To: Gary VanMatre

Fixed in the 20060503 shale nightly build. 

> If a clay full template (XML or HTML) was not found, an incorrect HTTP status code of 500 was reported.
> -------------------------------------------------------------------------------------------------------
>
>          Key: SHALE-172
>          URL: http://issues.apache.org/struts/browse/SHALE-172
>      Project: Shale
>         Type: Bug

>   Components: Clay
>     Versions: 1.0.1
>     Reporter: Gary VanMatre
>     Assignee: Gary VanMatre
>      Fix For: Nightly

>
> The ClayViewHandler uses the response of the FacesContext's ExternalContext casting to a HttpServletResponse.  This is to make the sendError method available.  
> I believe that in a portal environment, the dispatch to the servlet should wrapper the RenderResponse with an HttpServletResponse making the sendError method not perform any operation.
> This question was asked on the user list a few weeks ago and there was not a response.  I'm not sure if this is a correct assumption.  If this cast cause a problem in a portal server, we can look into using the reflection API to invoke these method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira