Hey everyone,
I wrote a panel in XWiki to do some kind of filtering and retrieving data using
both XWQL and HQL, and it works fine on the panel Editing page. But when I try
including that panel on some other page, it throws errors.
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
content with id [xwiki:Panels.Event Summary]
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation
of method 'execute' in class org.xwiki.query.internal.DefaultQuery threw
exception org.xwiki.query.QueryException: Full form statements requires
programming right. Query statement = [select doc.name from XWikiDocument doc,
BaseObject as obj, StringProperty prop where doc.fullName = obj.name and
prop.id.id=obj.id and prop.name='shortText5' and prop.value='USA' and
obj.className = 'Event revised.EventrevisedClass'] at xwiki:Panels.Event
Summary[line 14, column 278]
Caused by: org.xwiki.query.QueryException: Full form statements requires
programming right. Query statement = [select doc.name from XWikiDocument doc,
BaseObject as obj, StringProperty prop where doc.fullName = obj.name and
prop.id.id=obj.id and prop.name='shortText5' and prop.value='USA' and
obj.className = 'Event revised.EventrevisedClass']
I don't know what could be possibly wrong. So, Please help.
Thanks,
Prachi
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs