Tapestry
  1. Tapestry
  2. TAPESTRY-2226

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.11
    • Fix Version/s: 5.0.11
    • Component/s: tapestry-core
    • Labels:
      None
    • Environment:
      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.

        Activity

        Martin Papy created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Summary Tapestry should not shorten Index when it is at the root of tapestry package Requests for the root index page that include a page activation context fail with a 404 error
        Howard M. Lewis Ship made changes -
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 5.0.11 [ 12312968 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12424965 ] Default workflow, editable Closed status [ 12568610 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12568610 ] jira [ 12591645 ]

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Martin Papy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development