Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1032

Plain text updated instead of backlink if it matches the backlink text

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 B5
    • Fix Version/s: 1.0 B6
    • Component/s: {Unused} Wiki features
    • Labels:
      None
    • Environment:
      XWiki 1.0 svn trunk, Tomcat 5.5.20, IBM JDK 1.5.0.4, Mysql 5.0, Gentoo 2006.1
    • keywords:
      rename document, renameDocument, backlinks
    • Similar issues:

      Description

      During the replace backlinks phase of rename document, the replace will update plain text in the body if it matches the link text and is before the link. For example, if you have a page like this:

      ##begin document
      A) Main.pagename

      B) [Main.pagename]

      C) pagename

      D) [pagename]

      ##end document

      Notice that A & C are not links.

      Renaming Main.pagename to Main.pagename1 will update the plain text instead of the links. Giving you this:

      ##begin document
      A) Main.Main.pagename11

      B) [Main.pagename]

      C) pagename

      D) [pagename]

      ##end document

      I'm using svn trunk for the other backlink fixes ( XWIKI-1028 ).

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              kliether Tom Kliethermes
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: