issue: new blog post created in wrong space

xwiki xwiki xwiki at xiancaro.com
Tue Jun 12 14:46:08 CEST 2007


Hi,

When I use the new page panel in XWiki 1.0 final to create a blog post,
I found that the new blog post has been created in the Blog space not
Current space (noted at bottom of the panel).

I did some look in the calling, and I found that equalvalent is adding,
e.g., following line after a page link:

?xpage=create&tocreate=post&title=testblogcreation

also I did a test on the xwiki.org page:


http://www.xwiki.org/xwiki/bin/view/Main/WebHome?xpage=create&tocreate=post&title=testblogcreation

which should result in create a new page at Main space but I got
directed here:


http://www.xwiki.http://www.xwiki.org/xwiki/bin/inline/Blog/testblogcreation?parent=Blog.WebHome&template=XWiki.ArticleClassTemplate&XWiki.ArticleClass_0_title=testblogcreation

see, it's not Main.

test for "tocreate=page" result in right place.

thus I doubt that the code for "tocreate=post" has some where miss the
space parameter.

as we need use the "new page" panel tool for creating blog posts in the
calling space, anywhere I can get into solving this?

Thanks in advance!

Muzi





More information about the devs mailing list