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

Move page operation should not add space keys to links inside noformat or code blocks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.6.0
    • 2.3
    • None

    Description

      When moving a page to another space, if a noformat or code macro contains a link to a real other page inside the original space, eg [Some Other Actual Page] where that page title does exist, then the move operation incorrectly adds the space key to [Some Other Actual Page]. It should completely ignore all text inside noformat or code blocks as it is never rendered into a link.

      To replicate:
      1) Create a new page with the title Toggle-Cloak
      2) Create another new page and paste the pre-move markup below into it
      3) Move the second page to another space

      The noformat and code content will have been modified.

      — BEGIN PRE-MOVE MARKUP —

      Real link

      [Toggle-Cloak]

      Noformat Text Link

      [Toggle-Cloak]
      

      Code Panel

      [Toggle-Cloak]
      

      — END PRE-MOVE MARKUP —

      — BEGIN POST-MOVE MARKUP —

      Real link

      [test:Toggle-Cloak]

      Noformat Text Link

      [test:Toggle-Cloak]
      

      Code Panel

      [test:Toggle-Cloak]
      

      — END POST-MOVE MARKUP —

      Attachments

        Issue Links

          Activity

            People

              akazatchkov Anatoli
              david.soul@atlassian.com David Soul [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: