You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "quurks (JIRA)" <ji...@apache.org> on 2014/09/18 15:23:33 UTC
[jira] [Created] (TAP5-2388) Impossible to show error page after
component id not found
quurks created TAP5-2388:
----------------------------
Summary: 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
*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:*
See the error 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)