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

Incorrect default value in link creation dialog leads to invalid page links

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Blocker
    • 17.4.0
    • 16.8.0-rc-1
    • CKEditor
    • W11Pro, XWiki 17.3.0
    • Unknown

    Description

      Steps to reproduce:

      1. Enable Advanced User mode.
      2. Edit a test page in the Sandbox space.
      3. Select a word or phrase that is not already a link.
      4. Use the shortcut CTRL + K to trigger the link creation dialog.
      5. Proceed to create the link without editing the default suggestion.

      Actual result

      User creates invalid link

      xwiki:Main.{selectedWord}

      and unintentionally may create a non-existent page under the Main space.

      Expected result

      The link creation dialog should not pre-fill the target with

      xwiki:Main.{selectedWord}

      to avoid accidentally creating invalid or unintended links.

      Note

      This issue does not occur in versions before XWiki 16.8.0. It has been observed starting from XWiki 16.8.0-RC1 with this change

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              npetrenko Nikita Petrenko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: