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:blog.yourblogp...@demo.jpg

Hope this helps,
Marius

>
> Thanks
> mb
>
> By the way: What about WYSIWYG for comments?
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to