Tapestry 5
  1. Tapestry 5
  2. TAP5-879

404 is never raised automatically if the application has an index page.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.1.0.5
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      The default behavior of PageRenderDispatcher when a user access to a URL like 'http://localhost/demo/blah' (where 'demo' is the application context and 'blah' is a page that does not exist) is to translate to 'http://localhost/demo/index/blah' if an index page exists even if it has no activation method.

      It could be a better solution to check if a the index page has an activation method with the corresponding parameter number and type, and automatically raise a http 404 if not.

      1. TAP5-879.txt
        18 kB
        Christophe Cordenier
      2. TAP5-986.txt
        25 kB
        Christophe Cordenier

        Issue Links

          Activity

            People

            • Assignee:
              Massimo Lusetti
              Reporter:
              Christophe Cordenier
            • Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development