Re: [xwiki-users] Syntax Guide Page doesn't work because of 'Failed to execute the [velocity] macro'

2014-06-13 Thread Clemens Klein-Robbenhaar
[...] > Thanks for your answers regarding the second problem. Changing the > #set($results fixied it. > For the first one I found it myself. > It happen if you change the option 'xwiki.section.depth=' from '2' to '1' in > the xwiki.cfg. > Ah, ok, that's why. I can reproduce the problem when I c

Re: [xwiki-users] Syntax Guide Page doesn't work because of 'Failed to execute the [velocity] macro'

2014-06-12 Thread Kai Sen
Am 11.06.2014 16:26, schrieb Marius Dumitru Florea: On Wed, Jun 11, 2014 at 2:47 PM, Marius Dumitru Florea wrote: On Wed, Jun 11, 2014 at 1:51 PM, Clemens Klein-Robbenhaar wrote: On 06/10/2014 05:34 PM, -bt- wrote: Hello Marius, thanks for your fast answer. I tried it but it still doesn't

Re: [xwiki-users] Syntax Guide Page doesn't work because of 'Failed to execute the [velocity] macro'

2014-06-11 Thread Marius Dumitru Florea
On Wed, Jun 11, 2014 at 2:47 PM, Marius Dumitru Florea wrote: > On Wed, Jun 11, 2014 at 1:51 PM, Clemens Klein-Robbenhaar > wrote: >> On 06/10/2014 05:34 PM, -bt- wrote: >>> Hello Marius, >>> >>> thanks for your fast answer. I tried it but it still doesn't work. I also >>> tried to delete some pa

Re: [xwiki-users] Syntax Guide Page doesn't work because of 'Failed to execute the [velocity] macro'

2014-06-11 Thread Marius Dumitru Florea
On Wed, Jun 11, 2014 at 1:51 PM, Clemens Klein-Robbenhaar wrote: > On 06/10/2014 05:34 PM, -bt- wrote: >> Hello Marius, >> >> thanks for your fast answer. I tried it but it still doesn't work. I also >> tried to delete some pages as the where not replaced by the import. >> >> For test I setup a ne

Re: [xwiki-users] Syntax Guide Page doesn't work because of 'Failed to execute the [velocity] macro'

2014-06-11 Thread Clemens Klein-Robbenhaar
On 06/10/2014 05:34 PM, -bt- wrote: > Hello Marius, > > thanks for your fast answer. I tried it but it still doesn't work. I also > tried to delete some pages as the where not replaced by the import. > > For test I setup a new machine with a vanilla xwiki 6.0.1 and import the > content from the o

Re: [xwiki-users] Syntax Guide Page doesn't work because of 'Failed to execute the [velocity] macro'

2014-06-10 Thread -bt-
Hello Marius, thanks for your fast answer. I tried it but it still doesn't work. I also tried to delete some pages as the where not replaced by the import. For test I setup a new machine with a vanilla xwiki 6.0.1 and import the content from the other system. There it is working, with just one pr

Re: [xwiki-users] Syntax Guide Page doesn't work because of 'Failed to execute the [velocity] macro'

2014-06-10 Thread Marius Dumitru Florea
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'get' in class java.util.ArrayList threw exception java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at xwiki:XWiki.XWikiSyntax[line 72, column 198] The line is: #set($child = {'id' : $sectionDoc.getNam