You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2010/03/28 13:06:27 UTC

[jira] Closed: (TAP5-1086) Localized root path request results in a 404 error if Index page is not available

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

Igor Drobiazko closed TAP5-1086.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.2.0

> Localized root path request results in a 404 error if Index page is not available
> ---------------------------------------------------------------------------------
>
>                 Key: TAP5-1086
>                 URL: https://issues.apache.org/jira/browse/TAP5-1086
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Christian Riedel
>            Assignee: Igor Drobiazko
>             Fix For: 5.2.0
>
>
> 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. 

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