When configuring a custom start page by contributing a value to the symbol "tapestry.start-page-name" Tapestry does not handle all requests properly. Adding the locale but not the page name to the url leads to a 404 if the default Index-page cannot be found.
If "tapestry.start-page-name=HomePage" then a request to:
- http://host/ -> loads HomePage
- http://host/en/HomePage -> loads HomePage
- http://host/en/ -> is not correctly handled by Tapestry and results in a 404!
A simple workaround is to create a page called Index (as Tapestry looks for it by default) and extend from the custom root-page.
|Field||Original Value||New Value|
|Assignee||Igor Drobiazko [ igor.drobiazko ]|
|Summary||Root path / Custom Index page + locale cannot be found -> 404||Localized root path request results in a 404 error if Index page is not available|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Fix Version/s||5.2.0 [ 12314122 ]|
|Resolution||Fixed [ 1 ]|