Issue Details (XML | Word | Printable)

Key: LINK-125
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Bo Wang [CustomWare]
Reporter: David Foust
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Linking Plugin

link-window macro not respecting the server base URL

Created: 02/Sep/08 05:14 PM   Updated: 04/Dec/08 04:30 PM
Component/s: None
Affects Version/s: 2.5.0
Fix Version/s: 2.6.5

Time Tracking:
Not Specified

Environment: Confluence 2.7.2, x86, Oracle DB


 Description  « Hide
Our Server Base URL is similar to this: https://www.hostname.com/confluence

Then the following code:

{link-window:Space}

opens a new window, but the URL used doesn't include /confluence. Any ideas?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Bo Wang [CustomWare] added a comment - 28/Oct/08 03:30 AM
Hi David,

I have taken a look and it seems that indeed the plugin does not take into consideration of the context path, I have made the modifications to the current plugin and the links should take into consideration of context path from the next release (2.6.5) onwards.

Regards,
Bo


Vijay Iyer added a comment - 01/Dec/08 01:25 PM
I would not consider this issue fixed in 2.6.5. I believe it should be reopened.

You can see a usage of the {link-window} on my site at
https://openwiki.janelia.org/wiki/display/ephus/ScanImage+r3.5+Documentation#ScanImager3.5Documentation-MP285InterfaceImprovements

There are two uses in that section, both pointing to same attachment, and the macro produces the link

https://openwiki.janelia.org/download/attachments/4620458/r3_5_StandardModeGUI.png?version=4

whereas it needs to produce

https://openwiki.janelia.org/wiki/download/attachments/4620458/r3_5_StandardModeGUI.png?version=4

In other words, the generated link is missing the '/wiki/' in our context path.

We are using Confluence 2.8.2.


Vijay Iyer added a comment - 04/Dec/08 04:30 PM
I rescind my last comment. The upgrade to 1.6.5 did resolve the issue, however it didn't occur right away. Clearly the Linking plugin is pulling some information about the Confluence installation periodically (which probably makes sense, since the installation info shouldn't change frequently).