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

      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
          225 kB
          SarahA
        2. screenshot-2.jpg
          244 kB
          SarahA

            [CONFSERVER-25366] Confluence should respect relative links when copying and pasting the content of a page

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2897188 ] New: CONFSERVER Bug Workflow v4 [ 2991053 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2788847 ] New: JAC Bug Workflow v3 [ 2897188 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2736062 ] New: JAC Bug Workflow v2 [ 2788847 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2387169 ] New: JAC Bug Workflow [ 2736062 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix editor loyalty tech-writer-bugs New: affects-server editor loyalty tech-writer-bugs
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix editor tech-writer-bugs New: affects-server bugfix editor loyalty tech-writer-bugs
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2260638 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2387169 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2207609 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2260638 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185148 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2207609 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1925302 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2185148 ]

              jmasson@atlassian.com John Masson
              smaddox SarahA
              Affected customers:
              1 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: