myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1436) ResourceServlet should not render an error page (only the status)
Date Wed, 07 Jan 2015 17:21:34 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14267900#comment-14267900
] 

Hudson commented on TOBAGO-1436:
--------------------------------

FAILURE: Integrated in tobago-trunk #1306 (See [https://builds.apache.org/job/tobago-trunk/1306/])
Merged from tobago-3.0.x
TOBAGO-1436: ResourceServlet should not render an error page (only the status) [from revision
1650101] (lofwyr: http://svn.apache.org/viewvc/?view=rev&rev=1650102)
* /myfaces/tobago/trunk
* /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java


> ResourceServlet should not render an error page (only the status)
> -----------------------------------------------------------------
>
>                 Key: TOBAGO-1436
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1436
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>            Priority: Minor
>             Fix For: 3.0.0-alpha-1, 3.0.0, 2.0.6
>
>
> When using
> {code}
> respone.sendError(404, "Text")
> {code}
> eventually a full JSF will be rendered (when configured in the web.xml), but for resources
the status code is enough, like:
> {code}
> respone.setStatus(404)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message