Item13255: Preview expands TOC relative to the "save" url
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
A preferred fix would be to overide the view before template expansion, so that relative links are valid. However given that the preview is done using a POST to save, this probably isn't going to work. We'd probably need a different preview architecture.
disabling the %TOC macro so that it doesn't expand during preview is an alternative.
--
GeorgeClark - 09 Feb 2015
George, looking at your TOC patch in preview I see you are using foswikiBroadcastMessage.
This class isn't usable for that kind of things.
foswikiBroadcastMessage is reserved as a container for broadcast messayges
displayed at the top of the viewport
Why disabling TOC? This is a regression compared to 1.1.9.
--
MichaelDaum - 09 Feb 2015
Changes to a partial revert of the 1.2 feature. TOC and/or any relative links should now be changed to simulated links. Only http* style links should be re-targeted. Closing
--
GeorgeClark - 10 Feb 2015