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

Failed to load page error when editing inplace a terminal page with a question mark in the name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.5.2, 15.7-rc-1, 14.10.15
    • 14.4.2, 15.2
    • Edit
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      • create a terminal page with a question mark in the name
        • if naming strategy is activated to cleanup special characters from the names, make sure you disable it to really have the question mark in the page name, not only in the title
      • fill in some content in the editor
      • save and view
      • click the edit button in view mode, to activate inplace edit

      Expected result:

      • the page is loaded in edit mode

      Actual result:

      • the edit mode is not activated on the page
      • a red error "Failed to load the page" is displayed at the bottom of the screen

      In the browser dev tools in network tab, a request with a 404 is loaded , with a rest URL in which the ? character from the name of the page is escaped.

      Attachments

        Activity

          People

            MichaelHamann Michael Hamann
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: