Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 5.4
-
Fix Version/s: 5.4
-
Component/s: tapestry-core
-
Labels:None
Description
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
Attachments
Issue Links
- is related to
-
TAP5-1481 In production mode, component event requests that reference an unknown component should respond with a 404
-
- Closed
-