[xwiki-users] blog - link to attachment fails
Hi all, I'd like to use a link to an attachment in a blog comment, like [[attach:demo.jpg]]. It causes a link to http://<wiki>.<hostname>/xwiki/bin/download/Main/WebHome/demo.jpg - that's wrong, it should be http://<wiki>.<hostname>/xwiki/bin/download/Blog/<blog page>/demo.jpg I am using xwiki 2.7. Any hints? Thanks mb By the way: What about WYSIWYG for comments?
On 01/09/2011 06:41 PM, mb wrote:
Hi all,
I'd like to use a link to an attachment in a blog comment, like [[attach:demo.jpg]]. It causes a link to http://<wiki>.<hostname>/xwiki/bin/download/Main/WebHome/demo.jpg - that's wrong, it should be http://<wiki>.<hostname>/xwiki/bin/download/Blog/<blog page>/demo.jpg
I am using xwiki 2.7.
Any hints?
I can reproduce it on any page. It's clearly a bug. It seems that the comments are not rendered in the context of the document they are attached to. You should report the problem on jira.xwiki.org . In the mean time you can use the full reference like this as a work around: attach:[email protected] Hope this helps, Marius
Thanks mb
By the way: What about WYSIWYG for comments? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi mb, On Jan 9, 2011, at 5:41 PM, mb wrote:
Hi all,
I'd like to use a link to an attachment in a blog comment, like [[attach:demo.jpg]]. It causes a link to http://<wiki>.<hostname>/xwiki/bin/download/Main/WebHome/demo.jpg - that's wrong, it should be http://<wiki>.<hostname>/xwiki/bin/download/Blog/<blog page>/demo.jpg
I am using xwiki 2.7.
Any hints?
It's a bug I think. Could you report it in jira: http://jira.xwiki.org ? I think right now you need to prefix with the document's name but that's a bug. Thanks -Vincent
participants (3)
-
Marius Dumitru Florea -
mb -
Vincent Massol