Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8037

Documentation for parameter xwiki.defaultpage does not match behavior

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The configuration says :

      #-# The name of the default page of a space. This is displayed when the URL specifies a space, but not a document, or neither.
      

      While this parameters actually permits to not write the document name part of a URL when it matches this parameter. Example, if set to "WebHome", URL of space home pages will be serialized without the name part (i.e. "/Sandbox/" and not "/Sandbox/WebHome").

      In addition, there is a bug/mistake associated to this behavior, is that the default value taken for this parameter in XWiki.java#getDefaultPage is "Main" and not "WebHome". This explain why when not configured specifically, XE actually writes the WebHome page of URLs.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            jerome Jerome Velociter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: