Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2226

Requests for the root index page that include a page activation context fail with a 404 error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.11
    • 5.0.11
    • tapestry-core
    • None
    • Win Vista / Java 1.5

    Description

      I have a problem with the new index pages. The system that shortens the url, shorten too much I think...

      Exemple in the Index.tml page a the Root of my Tapestry package :

      <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" >
      <t:pageLink t:page="index" t:context="literal:1">test</t:pageLink>
      </html>

      The generated URL will be http://hostname/context/1 (instead of http://hostname/context/index/1)

      The problem is that it generate a 404 Error... Is this normal ? Did I something wrong ?

      The same code in an Index page in a subdirectory doesn't generate the 404. It generated a correct shorten URL like : http://hostname/context/subdirectory/1 but it works fine.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            kheldar666 Martin Papy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: