[richfaces-issues] [JBoss JIRA] Updated: (RF-7341) Requesting an invalid resource returns a 500 error when perhaps it should return a 404?

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Jun 9 05:25:56 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-7341:
-------------------------------

    Fix Version/s: Future
         Assignee: Nick Belaevski


> Requesting an invalid resource returns a 500 error when perhaps it should return a 404?
> ---------------------------------------------------------------------------------------
>
>                 Key: RF-7341
>                 URL: https://jira.jboss.org/jira/browse/RF-7341
>             Project: RichFaces
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.3.0
>            Reporter: Michael Youngstrom
>            Assignee: Nick Belaevski
>            Priority: Minor
>             Fix For: Future
>
>
> If I request an invalid resource I get a 500 error.  A 404 may be more appropriate in this situation.
> 15:13:36,839 ERROR [default]: Servlet.service() for servlet default threw exception
> org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org/richfaces/renderkit/html/scripts/bash
>       at org.ajax4jsf.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:397)
>       at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:341) 

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

        



More information about the richfaces-issues mailing list