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

getRenderedTitle should fallback on the parent space name when a WebHome page has the title empty

    XMLWordPrintable

Details

    • Unit
    • High
    • Easy
    • N/A

    Description

      If MySpace.WebHome has the title empty then

      $xwiki.getDocument('MySpace.WebHome').plainTitle
      

      should output "MySpace". The output is currently "WebHome" (the page name) which is technical and confuses the simple users.

      Note that when we create a space the title is prefilled with the space name so if you leave the title as is then you don't see "WebHome" after saving the page. But if you clear the title field then you get to see "WebHome".

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 hours
                  2h