On Wed, May 15, 2013 at 6:16 AM, Guofeng Zhang <guofeng(a)avaya.com> wrote:
Hi,
I logged in using Admin as the account provide by XWiki 5.0.1 installation.
I created a panel has the following XWQL:
#set ($hql = "select doc.fullName, todoObj.Description from Document as doc,
doc.object(XWiki.TodoClass) as todoObj where todoObj.Status <> 'Finished'
order by doc.date desc")
#set($results = $services.query.xwql($hql).setLimit(5).execute())
It works well in the panel's view mode. It list what I searched for.
Then I drag and drop it to the right of the Panel Wizard page using Panel Wizard and
click SAVE THE NEW LAYOUT, my panel still displayed the search result on the right.
Now I go to the XWiki home (
http://localhost:8080/xwiki/bin/view/Main/), I got an error
display on the right of the home page: Full form statements requires programming right.
Query statement = [select doc.fullName, todoObj.Description from Document as doc,
doc.object(XWiki.TodoClass) as todoObj where todoObj.Status <> 'Finished'
order by doc.date desc]
I still logged in as Admin and checked that XWikiAdminGroup, which Admin belongs to, has
the Program right. Even if I explicitly give Admin user the Program right on the Right
page, this issue still cannot be fixed. Note that my panel works when I worked with the
Administration App.
What happened to the home page and How to solve it?
Thanks for your help!
Guofeng
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users