You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/10/24 23:28:34 UTC
[jira] [Closed] (TAP5-2388) Impossible to show error page after
component id not found
[ https://issues.apache.org/jira/browse/TAP5-2388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-2388.
--------------------------------------
Resolution: Fixed
Fix Version/s: 5.4
Assignee: Howard M. Lewis Ship
> Impossible to show error page after component id not found
> ----------------------------------------------------------
>
> Key: TAP5-2388
> URL: https://issues.apache.org/jira/browse/TAP5-2388
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: quurks
> Assignee: Howard M. Lewis Ship
> Fix For: 5.4
>
>
> *Steps to reproduce:*
> Use Quickstart template for 5.4-beta-22 (Using the error page recipe)
> Enable Production mode (dev has no problem)
> Open an url with a unkown component id (/index.html)
> *Expected:*
> Error404 page with information /index.html was not found
> *Actual:*
> *Blank* Page with 404 Status
> *Possible Reason:*
> ProductionModeUnknownComponentFilter#handleComponentEvent doenst find html ->
> request.setAttribute(InternalConstants.REFERENCED_COMPONENT_NOT_FOUND, true) ->
> ComponentEventDispatcher#dispatch returns false ->
> Request for Error404 by Container ->
> PageRenderDispatcher#dispatch checks for REFERENCED_COMPONENT_NOT_FOUND and its still there->
> returns false -> error404 is not displayed
> Tomcat version: 7.0.55
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)