-
Bug
-
Resolution: Won't Fix
-
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
- Create a new page
- Click Insert - Wiki Markup
- 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
- 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
- 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.