Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-879

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 5.1.0.5
    • None
    • tapestry-core
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              mlusetti Massimo Lusetti
              ccordenier Christophe Cordenier
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: