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

Confluence should respect relative links when copying and pasting the content of a page

XMLWordPrintable

      If you insert a relative link, then it should remain relative. This means that, if you copy the source of the page from one space to another, then the relative links should point to pages in the new space, not to pages in the original space.

      I have just tested the scenario described by a customer in a support case:

      • In the DOC space on CAC, I created a page called "Sarah test 1". I added three links that should be relative. All of them point to a page called "Supported Platforms". To create the links, I added one via the links autocomplete, one via the Search tab in the links browser, and one via the Advanced tab in the links browser.
      • Both the DOC space and the JIRA space already have a page with the same name, "Supported Platforms".
      • In the JIRA space on CAC, I created another page called "Sarah test 1", and copied the content from the above page. To copy it, I opened the above page in the editor, selected all the content, pressed Ctrl+C, then pasted the content into my new page.
      • Problem: The links are not relative in the new page. They still point to the DOC space, whereas they should point to the identically-named page in the JIRA space.

      See screenshots attached.

        1. screenshot-1.jpg
          screenshot-1.jpg
          225 kB
        2. screenshot-2.jpg
          screenshot-2.jpg
          244 kB

              jmasson@atlassian.com John Masson
              smaddox SarahA
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: