Hi ICLED,
On 14 Oct 2015 at 18:26:37, ICLED ([email protected](mailto:[email protected])) wrote: > I have XWIKI 7.1.2 on UBUNTU 14.04.3 LTS, Tomcat7 and MySQL from Ubuntu > Distribution. > XWIKI WAR Install. > > I am using a subwiki. > > The following line > > {{parentschildrenlivetable space="An existing Space"/}} > > Result in this message in catalina.out > > 2015-10-14 18:04:35,664 > [http://wiki/xwiki/wiki/icwiki/edit/XWiki/SpaceParentsChildrenService?language=en&editor=inline] > ERROR o.x.v.i.DefaultVelocityEngine - Left side ($returnedItems) of '<' > operation has null value at 37:icwiki:XWiki.SpaceParentsChildrenService[line > 250, column 37] I’ve debugged the problem locally and the macro works fine for non-nested spaces. Initially I also got some error (see below) but it was because I didn’t have the xwiki-platform-legacy-oldcore-*.jar JAR in my WEB-INF/lib and this macro requires some legacy APIs. FTR here’s the error I was getting: 2015-10-16 14:06:17,177 [http://localhost:8080/xwiki/bin/get/XWiki/SpaceParentsChildrenService?outputSyntax=plain&transprefix=xe.index.&classname=&collist=doc.name%2Cdoc.date%2Cdoc.author&queryFilters=currentlanguage%2Chidden&space=XWiki&offset=1&limit=10&reqNo=1&sort=doc.name&dir=asc] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($offset) of '<' operation has null value at 94:xwiki:XWiki.SpaceParentsChildrenService[line 14, column 14] 2015-10-16 14:06:17,183 [http://localhost:8080/xwiki/bin/get/XWiki/SpaceParentsChildrenService?outputSyntax=plain&transprefix=xe.index.&classname=&collist=doc.name%2Cdoc.date%2Cdoc.author&queryFilters=currentlanguage%2Chidden&space=XWiki&offset=1&limit=10&reqNo=1&sort=doc.name&dir=asc] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.DeprecatedContext.getLanguage] in 94:xwiki:XWiki.SpaceParentsChildrenService@209,12 2015-10-16 14:06:17,183 [http://localhost:8080/xwiki/bin/get/XWiki/SpaceParentsChildrenService?outputSyntax=plain&transprefix=xe.index.&classname=&collist=doc.name%2Cdoc.date%2Cdoc.author&queryFilters=currentlanguage%2Chidden&space=XWiki&offset=1&limit=10&reqNo=1&sort=doc.name&dir=asc] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($returnedItems) of '<' operation has null value at 94:xwiki:XWiki.SpaceParentsChildrenService[line 252, column 37] I tested with: {{parentschildrenlivetable space="XWiki" order="asc" rowCount="10"/}} Could you confirm that you didn’t have this xwiki-platform-legacy-oldcore-*.jar JAR in your WEB-INF/lib? Also could you let us know if you tried the macro on Nested Spaces? (could you show how you used the macro?). Thanks -Vincent _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
