[xwiki-users] Parent-Children Livetable macro 1.2 - Error
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?languag...] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($returnedItems) of '<' operation has null value at 37:icwiki:XWiki.SpaceParentsChildrenService[line 250, column 37] -- View this message in context: http://xwiki.475771.n2.nabble.com/Parent-Children-Livetable-macro-1-2-Error-... Sent from the XWiki- Users mailing list archive at Nabble.com.
This looks like a bug, would be great if you could report it on http://jira.xwiki.org with detail on how to reproduce it on a standard instance. On Wed, Oct 14, 2015 at 6:26 PM, ICLED <[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?languag...] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($returnedItems) of '<' operation has null value at 37:icwiki:XWiki.SpaceParentsChildrenService[line 250, column 37]
-- View this message in context: http://xwiki.475771.n2.nabble.com/Parent-Children-Livetable-macro-1-2-Error-... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Thu, Oct 15, 2015 at 10:33 AM, Thomas Mortagne <[email protected]
wrote:
This looks like a bug, would be great if you could report it on http://jira.xwiki.org with detail on how to reproduce it on a standard instance.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Parent-Children+Livetab... doesn't have a JIRA project and it's not supported by the XWiki Development Team. I'm listed as a developer but I didn't worked directly on this extension. I think I just gave some advices to Raluca/Mircea. The error suggests that $returnedItems is null which is not expected by the code. But I'm not familiar with the code.
On Wed, Oct 14, 2015 at 6:26 PM, ICLED <[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?languag... ] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($returnedItems) of '<' operation has null value at 37:icwiki:XWiki.SpaceParentsChildrenService[line 250, column 37]
-- View this message in context: http://xwiki.475771.n2.nabble.com/Parent-Children-Livetable-macro-1-2-Error-... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Indeed I did not check jira before suggesting to create an issue. You can always leave a comment on http://extensions.xwiki.org/xwiki/bin/view/Extension/Parent-Children+Livetab.... On Thu, Oct 15, 2015 at 9:53 AM, Marius Dumitru Florea <[email protected]> wrote:
On Thu, Oct 15, 2015 at 10:33 AM, Thomas Mortagne <[email protected]
wrote:
This looks like a bug, would be great if you could report it on http://jira.xwiki.org with detail on how to reproduce it on a standard instance.
http://extensions.xwiki.org/xwiki/bin/view/Extension/Parent-Children+Livetab... doesn't have a JIRA project and it's not supported by the XWiki Development Team. I'm listed as a developer but I didn't worked directly on this extension. I think I just gave some advices to Raluca/Mircea. The error suggests that $returnedItems is null which is not expected by the code. But I'm not familiar with the code.
On Wed, Oct 14, 2015 at 6:26 PM, ICLED <[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?languag... ] ERROR o.x.v.i.DefaultVelocityEngine - Left side ($returnedItems) of '<' operation has null value at 37:icwiki:XWiki.SpaceParentsChildrenService[line 250, column 37]
-- View this message in context: http://xwiki.475771.n2.nabble.com/Parent-Children-Livetable-macro-1-2-Error-... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
This is a regression error, the macro works ok until 6.4.5. I canceled the migration to 7 for now. -- View this message in context: http://xwiki.475771.n2.nabble.com/Parent-Children-Livetable-macro-1-2-Error-... Sent from the XWiki- Users mailing list archive at Nabble.com.
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?languag...] 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?output...] 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?output...] 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?output...] 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
I found this: xwiki-platform-legacy-oldcore-7.1.2.jar in: /usr/local/lib/xwiki/xwiki-enterprise-web-7.1.2/WEB-INF/lib We are not using nested spaces. -- View this message in context: http://xwiki.475771.n2.nabble.com/Parent-Children-Livetable-macro-1-2-Error-... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 16 Oct 2015 at 16:26:17, ICLED ([email protected](mailto:[email protected])) wrote:
I found this: xwiki-platform-legacy-oldcore-7.1.2.jar in: /usr/local/lib/xwiki/xwiki-enterprise-web-7.1.2/WEB-INF/lib
We are not using nested spaces.
Ok this time I have tested on 7.1.2 (I was on 7.3-SNAPSHOT) and it worked OOB for me. I created a new page and put in it: {{parentschildrenlivetable space="XWiki" order="asc" rowCount="10"/}} You didn’t tell us how you use the macro (see the questions from my previous mail - PS: BTW would be nice to not remove the discussion thread in the mail as we can’t check what came before easily and point to it ;)). Thanks -Vincent
View this message in context: http://xwiki.475771.n2.nabble.com/Parent-Children-Livetable-macro-1-2-Error-... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (4)
-
ICLED -
Marius Dumitru Florea -
Thomas Mortagne -
vincent@massol.net