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

Inserting Wiki to Create Link to Page With Full URL Path Fails

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • None
    • 4.3.3, 4.3.7
    • None

      Hi,

      I noticed today that after upgrading to Confluence 4.3.3 from 3.5.6 in our staging environment that some of our links are now not rendering properly. I am able to replicate the issue in 4.3.3 by inserting the wiki code using the Insert -> Wiki Markup option in the editor.

      When inserted the following Wiki code will create the link, but it will drop off the symbol(also drops off an image if that is what you are using):

      [Test Page Destination (?)|TestPageDestination]
      

      Resulting xhtml:

      <ac:link>
        <ri:page ri:content-title="TestPageDestination"/>
        <ac:plain-text-link-body><![CDATA[Test Page Destination ]]></ac:plain-text-link-body>
      </ac:link>
      

      However, when the full URL path is specified the link is rendered correctly with the image included:

      [Test Page Destination (?)|http://opcsgmiscon01.csg.csgsystems.com/display/~woej01/TestPageDestination]
      

      Resulting xhtml:

      <a href="http://opcsgmiscon01.csg.csgsystems.com/display/~woej01/TestPageDestination">Test Page Destination <ac:emoticon ac:name="question"/>
      

      I have been able to duplicate this behavior on a variety of pages.

      Steps to reproduce

      1. Create a new page
      2. Click Insert - Wiki Markup
      3. Enter this markup (replace with a valid page name):
        [Test Page (?) |test+page]
        
        • Observe that the link does not render as an actual page - it attempts to create a new page when clicked
        • Observe that the does not appear either
      4. Edit the page and enter this instead (replacing with a valid full URL):
        [Test Page (?) |http://localhost:8090/TEST/test+page]
        
        • Observe that this works as expected
      5. Edit the page and enter this (note the space after the opening [ ):
        [ Test Page (?) |http://localhost:8090/TEST/test+page ]
        
        • Observe that the link does not render at all, it displays as text.

            [CONFSERVER-27846] Inserting Wiki to Create Link to Page With Full URL Path Fails

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2894712 ] New: CONFSERVER Bug Workflow v4 [ 2985437 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2780729 ] New: JAC Bug Workflow v3 [ 2894712 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2735238 ] New: JAC Bug Workflow v2 [ 2780729 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400693 ] New: JAC Bug Workflow [ 2735238 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2300353 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400693 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234471 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2300353 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196920 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234471 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1931643 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196920 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1731744 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1931643 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1687334 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1731744 ]

              shaffenden Steve Haffenden (Inactive)
              f6e78ee6334d Jimmy Woestman
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: