Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0.1
-
None
-
Unknown
-
N/A
-
yes
-
Description
Links contained in the ShowHide macro are rendered as "new page" links, even though the page exists and the same link outside of the ShowHide macro correctly leads to the intended target page.
This was already reported in the forum 2 years ago, and I just stumbled across the same issue, so it apparently was not fixed in the meantime.
More detailed description copied from there:
I use xwiki version 11.10.2, showhide macro 2.0. And got the same error.
For example, I put this text in Sandbox page:{{showhide showmessage="test" hidemessage="test" effectduration="1"
[[link>>doc:]] to current page
/showhide
[[link>>doc:]] to current page}}Link outside showhide macro rendered to https://ip:8443/xwiki/bin/view/Sandbox/# but link inside sandbox macro rendered as https://ip:8443/xwiki/bin/create/Sandbox/doc%3A/WebHome?parent=Sandbox.WebHome as non existing page.
The same link rendering bug in spoiler macro.
So I think it is sandbox and spoiler macro (ar maybe all?) rendering bug. It cant correct render link inside the macro.