Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-54586

Collaborative Editing breaks Link Shortcuts

    XMLWordPrintable

Details

    Description

      Summary

      When editing a page that has a shortcut link inserted, saving the page will break any shortcut links. There are multiple behaviors:

      1. If the shortcut link has a Default Alias, then that text will be changed to the current page title and the link will be to the current page
      2. If the shortcut link has custom text, then it will remain, but the link will point to the current page.

      Steps to Reproduce

      1. Set up a Confluence instance with Collaborative Editing enabled
      2. Create a Shortcut Link and give it a default alias:

        (In this example, I created the 'DuckDuckGo' shortcut)
      3. Create a page, and insert 2 shortcut links:
        1. This link should be to google (or any other link without a Default Alias)
        2. The next link should be to a shortcut with a Default Alias.
      4. Save the Page.
      5. All links will be displayed correctly, and be to the correct URL
      6. Edit the page again, and click 'Save'

      Expected Behavior

      The links will remain as they were before

      Observed Behavior

      Both links will now point to the current Confluence page. The link text without a default alias will still be correct, while the link text with the default alias will now show the current page title:

      Workaround

      Disable Collaborative Editing. Editing a page with shortcut links will no longer break them.

      Attachments

        1. after_edit.jpg
          11 kB
          Jason B
        2. shortcuts.jpg
          55 kB
          Jason B

        Issue Links

          Activity

            People

              nbhawnani Niraj Bhawnani
              jbentrup Jason B
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: