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

Renaming a page with trailing whitespace causes a broken link in the navigation panel to appear

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.10.7, 13.4-rc-1
    • 12.4, 13.0
    • Refactoring
    • None
    • Linux Ubuntu 16.04 LTS
    • Unknown
    • N/A
    • N/A

    Description

      https://forum.xwiki.org/t/rename-page-with-accidental-trailing-whitespace/8553

       

      steps to reproduce:

      1. from the home page, create a new page whose name has a trailing whitespace. e.g. "test page "
      2. save and view the created page
      3. rename the page, remove the trailing whitespace, check preserve children and update links
      4. click rename

       

      Expected results

      • page name and link in navigation panel updated from "test page " to "test page"

      Actual results

      • page name corrected to "test page", "test page" link appears in navigation panel
      • old link "test page " still shows in navigation panel. clicking it leads to "The requested page could not be found." notice 

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              elementerzen darren
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: