I have a shortcut link create via <ctrl>K / Advance : ctm-456@jiraissue, resuling in
      ctm-456 blabla orig
      Selecting that line and copy / paste it leads to a broken link
      ctm-456 blabla copy
      The xhtml shows the problem:

      <p>
        <ac:link>
          <ri:shortcut ri:key="jiraissue" ri:parameter="ctm-456"/>
          <ac:plain-text-link-body><![CDATA[ctm-456]]></ac:plain-text-link-body>
        </ac:link> blabla orig</p>
      <p>
        <ac:link>
          <ac:plain-text-link-body><![CDATA[ctm-456]]></ac:plain-text-link-body>
        </ac:link> blabla copy</p>
      <p>
        <ac:link>
          <ri:page ri:content-title="Page Maps and Includes"/>
        </ac:link> orig</p>
      <p>
        <ac:link>
          <ri:page ri:content-title="Page Maps and Includes"/>
        </ac:link> copy</p>
      <p> </p>
      

      The procedure works for "normal" page links
      Page Maps and Includes orig
      Page Maps and Includes copy

        1. screenshot-1.png
          screenshot-1.png
          10 kB
        2. screenshot-2.png
          screenshot-2.png
          10 kB

            [CONFSERVER-36834] shortcut link is not copied correctly

            Atlassian Update - September 2019

            Thank you for your interest in this ticket. The Confluence Server and Data Center team released a major upgrade to the editor in 6.14. Due to the age of this ticket and/or lack of updates, we suspect that this issue is no longer relevant or was resolved as a result of the upgrade and are now closing this ticket.

            If this issue is still a problem in your Confluence instance in version 6.15 or later, please tag me in your comment and we can reopen this ticket for review.

            You can read more about the editor upgrade in the 6.14 Release Notes.

            Thanks

            Makisa Appleton | Senior Product Manager, Confluence Server and Data Center

            Makisa Appleton added a comment - Atlassian Update - September 2019 Thank you for your interest in this ticket. The Confluence Server and Data Center team released a major upgrade to the editor in 6.14. Due to the age of this ticket and/or lack of updates, we suspect that this issue is no longer relevant or was resolved as a result of the upgrade and are now closing this ticket. If this issue is still a problem in your Confluence instance in version 6.15 or later, please tag me in your comment and we can reopen this ticket for review. You can read more about the editor upgrade in the 6.14 Release Notes . Thanks Makisa Appleton | Senior Product Manager, Confluence Server and Data Center

            We still have this problem with Confl. 5.7

            Reinhard Jöhnk added a comment - We still have this problem with Confl. 5.7

            • Maybe Fixfox is part of the problem? Just tried the same procedure in IE-Tab: It is ok there. Hmm.
            • This is the contents of the paste buffer after copying the line including the shortcut link:
              Version:0.9
              StartHTML:00000182
              EndHTML:00000692
              StartFragment:00000216
              EndFragment:00000656
              SourceURL:https://vox.ppimedia.de/confluence/pages/editpage.action?pageId=799539221
              <html><body>
              <!--StartFragment--><p>I get <a class="confluence-link" href="https://vox.ppimedia.de/jira/browse/CTM-456" shortcut-key="jiraissue" shortcut-parameter="CTM-456" data-linked-resource-shortcut="CTM-456@jiraissue" data-linked-resource-type="shortcut" data-linked-resource-default-alias="%s" data-base-url="https://vox.ppimedia.de/confluence" data-mce-href="https://vox.ppimedia.de/jira/browse/CTM-456">CTM-456</a> , this is ok, the resulting storage format is</p><!--EndFragment-->
              </body>
              </html>
              

            Reinhard Jöhnk added a comment - Maybe Fixfox is part of the problem? Just tried the same procedure in IE-Tab: It is ok there. Hmm. This is the contents of the paste buffer after copying the line including the shortcut link: Version:0.9 StartHTML:00000182 EndHTML:00000692 StartFragment:00000216 EndFragment:00000656 SourceURL:https://vox.ppimedia.de/confluence/pages/editpage.action?pageId=799539221 <html><body> <!--StartFragment--><p>I get <a class="confluence-link" href="https://vox.ppimedia.de/jira/browse/CTM-456" shortcut-key="jiraissue" shortcut-parameter="CTM-456" data-linked-resource-shortcut="CTM-456@jiraissue" data-linked-resource-type="shortcut" data-linked-resource-default-alias="%s" data-base-url="https://vox.ppimedia.de/confluence" data-mce-href="https://vox.ppimedia.de/jira/browse/CTM-456">CTM-456</a> , this is ok, the resulting storage format is</p><!--EndFragment--> </body> </html>

            Hi reinhard.joehnk

            Thanks for the clarification on this point. Much appreciated. Unfortunately in following those steps I'm unable to reproduce the behaviour that you describe. Are there any other details that you think might be important in reproducing this issue?

            Regards
            Steve Haffenden
            Confluence Bugmaster

            Steve Haffenden (Inactive) added a comment - - edited Hi reinhard.joehnk Thanks for the clarification on this point. Much appreciated. Unfortunately in following those steps I'm unable to reproduce the behaviour that you describe. Are there any other details that you think might be important in reproducing this issue? Regards Steve Haffenden Confluence Bugmaster

            @ "... and a url which points to a corresponding jira issue" :
            I do not give the URL but a shortcut link "jiraissue" defined as
            ...

            Reinhard Jöhnk added a comment - @ "... and a url which points to a corresponding jira issue" : I do not give the URL but a shortcut link "jiraissue" defined as ... jiraissue https://vox.ppimedia.de/jira/browse/ %s Delete

            Hi reinhard.joehnk

            thanks for getting in touch and for taking the time to raise this issue. I just want to be clear on the process that you're using to generate this problem. Could you confirm that the following is what you do:

            • Create a page
            • Hit ctrl+k to open the link dialog
            • Select the advanced tab on the bottom left of the dialog
            • Create a link with the following text "ctm-456" and a url which points to a corresponding jira issue
            • Add the text blabla orig after the link
            • Copy the link and the text by selecting the entire line
            • Paste the line
            • Observe that the link is broken

            Regards
            Steve Haffenden
            Confluence bugmaster

            Steve Haffenden (Inactive) added a comment - Hi reinhard.joehnk thanks for getting in touch and for taking the time to raise this issue. I just want to be clear on the process that you're using to generate this problem. Could you confirm that the following is what you do: Create a page Hit ctrl+k to open the link dialog Select the advanced tab on the bottom left of the dialog Create a link with the following text "ctm-456" and a url which points to a corresponding jira issue Add the text blabla orig after the link Copy the link and the text by selecting the entire line Paste the line Observe that the link is broken Regards Steve Haffenden Confluence bugmaster

              Unassigned Unassigned
              b0379efe009e Reinhard Jöhnk
              Affected customers:
              2 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: