You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "manuel aldana (JIRA)" <ji...@apache.org> on 2009/02/12 02:46:03 UTC

[jira] Updated: (TAP5-515) HTTP 404 response if page-class couldn't be found -> improvement: exception page explaining the cause

     [ https://issues.apache.org/jira/browse/TAP5-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

manuel aldana updated TAP5-515:
-------------------------------

    Description: 
If page class cannot be found (corresponding to template), you get a 404 response.

It would be nicer to wrap this error and report the cause to this nice tapestry error-reporting page and suggest the fix (e.g. by wrapping the ClassNotFoundException to a meaningful message). 

This tapestry user-error is not so unlikely:
-page class accidently not put to xxxx.pages package
-wrong tapestry app root-package configuration in web.xml (tapestry.app-package param)



  was:
If page class cannot be found (corresponding to template), you get a 404 response.

It would be nicer to wrap this error and report the cause to this nice tapestry error-reporting page and suggest the fix (e.g. by wrapping the ClassNotFoundException to a meaningful message). 

This tapestry usage is not so unlikely:
-page class accidently not put to xxxx.pages package
-wrong tapestry app root-package configuration in web.xml (tapestry.app-package param)




> HTTP 404 response if page-class couldn't be found -> improvement: exception page explaining the cause
> -----------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-515
>                 URL: https://issues.apache.org/jira/browse/TAP5-515
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.0
>            Reporter: manuel aldana
>            Priority: Minor
>
> If page class cannot be found (corresponding to template), you get a 404 response.
> It would be nicer to wrap this error and report the cause to this nice tapestry error-reporting page and suggest the fix (e.g. by wrapping the ClassNotFoundException to a meaningful message). 
> This tapestry user-error is not so unlikely:
> -page class accidently not put to xxxx.pages package
> -wrong tapestry app root-package configuration in web.xml (tapestry.app-package param)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.