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

Cannot insert link to page containing quotes with the quick action

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 15.5.2, 15.7-rc-1
    • 15.6-rc-1
    • CKEditor
    • None
    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Create a page named "Quote" (include the " in the name)
      2. On a new line, type [Quote and select the page we've just created as target

      Expected result:

      The link is displayed with label "Quote" and works.

      Actual result:

      {label}

      is displayed, the generated XWiki syntax is

      [[{label}>>{reference}]]

      .

      Also, there are several errors in the browser's console.

      Uncaught DOMException: Element.querySelector: '#cke_147 li[data-id="document:xwiki:"Quote".WebHome"]' is not a valid selector
      Uncaught Error: Item with given id does not exist
      

      This shows that there is some missing escaping in the selector.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: