thks
Pascal
On Mon, May 4, 2009 at 9:15 AM, Vincent Massol <vincent(a)massol.net>
wrote:
> Fixed, thanks a lot for reporting it and saving us a regression in
> 1.8.3.
>
> -Vincent
>
> On May 3, 2009, at 7:09 PM, Pascal Voitot wrote:
>
>> done
>>
>>
http://jira.xwiki.org/jira/browse/XWIKI-3743
>>
>> Pascal
>>
>> On Sun, May 3, 2009 at 6:35 PM, Pascal Voitot
>> <pascal.voitot.dev(a)gmail.com>wrote;wrote:
>>
>>> Yes I do it asap...
>>>
>>>
>>> On Sun, May 3, 2009 at 6:30 PM, Vincent Massol <vincent(a)massol.net
>>> >
>>> wrote:
>>>
>>>> Hi Pascal,
>>>>
>>>> Can you create a jira issue please?
>>>>
>>>> Thanks
>>>> -Vincent
>>>>
>>>> On May 3, 2009, at 6:06 PM, Pascal Voitot wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I have compiled code directly from the trunk and I have a
>>>>> simple
>>>>> wiki page
>>>>> such as:
>>>>>
>>>>> {{velocity}}
>>>>> {{html}}
>>>>> #warning("(% style='font-size:120%' %)
>>>>> [[mylink>>myspace.mypage]]")
>>>>> {{/html}}
>>>>> {{/velocity}}
>>>>>
>>>>> and I get the following text:
>>>>> (% style='font-size:120%' %)
[[mylink>>myspace.mypage]]
>>>>> The content in the velocity macro is not rendered.
>>>>>
>>>>> Ok apparently now, default {{html}} is {{html
wiki="false"}}
>>>>>
>>>>> So I write:
>>>>> {{velocity}}
>>>>> {{html wiki="true"}}
>>>>> #warning("(% style='font-size:120%' %)
>>>>> [[mylink>>myspace.mypage]]")
>>>>> {{/html}}
>>>>> {{/velocity}}
>>>>>
>>>>> And I get following exception:
>>>>> ...
>>>>>
>>>>> org.apache.velocity.exception.MethodInvocationException:
>>>>> Invocation of
>>>>> method 'getRenderedContent' in class
>>>>> com.xpn.xwiki.api.Document
>>>>> threw
>>>>> exception java.lang.StackOverflowError @ /templates/
>>>>> preview.vm[6,7]
>>>>>
>>>>> ...
>>>>>
>>>>> Caused by: java.lang.StackOverflowError
>>>>> at
>>>>> org
>>>>> .xwiki
>>>>> .rendering
>>>>> .renderer
>>>>> .printer
>>>>> .MonitoringWikiPrinter.print(MonitoringWikiPrinter.java:
>>>>> 41)
>>>>> at
>>>>> org
>>>>> .xwiki
>>>>> .rendering
>>>>> .renderer.printer.XMLWikiPrinter.print(XMLWikiPrinter.java:
>>>>> 79)
>>>>> at
>>>>> org
>>>>> .xwiki
>>>>> .rendering
>>>>> .renderer
>>>>> .printer.WrappingWikiPrinter.print(WrappingWikiPrinter.java:
>>>>> 39)
>>>>> at
>>>>> org
>>>>> .xwiki
>>>>> .rendering
>>>>> .renderer
>>>>> .printer
>>>>> .MonitoringWikiPrinter.print(MonitoringWikiPrinter.java:
>>>>> 41)
>>>>> at
>>>>> org
>>>>> .xwiki
>>>>> .rendering
>>>>> .renderer.printer.XMLWikiPrinter.print(XMLWikiPrinter.java:
>>>>> 79)
>>>>> at
>>>>> org
>>>>> .xwiki
>>>>> .rendering
>>>>> .renderer
>>>>> .printer.WrappingWikiPrinter.print(WrappingWikiPrinter.java:
>>>>> 39)
>>>>> at
>>>>> org
>>>>> .xwiki
>>>>> .rendering
>>>>> .renderer
>>>>> .printer
>>>>> .MonitoringWikiPrinter.print(MonitoringWikiPrinter.java:
>>>>> 41)
>>>>> at
>>>>> org
>>>>> .xwiki
>>>>> .rendering
>>>>> .renderer.printer.XMLWikiPrinter.print(XMLWikiPrinter.java:
>>>>> 79)
>>>>> ...
>>>>>
>>>>> Kind of infinite loop...
>>>>>
>>>>> I have tried other combinations with html before velocity,
>>>>> inside
>>>>> warning macro etc... but never works as it should...
>>>>> Do you have an idea???
>>>>>
>>>>> regards
>>>>> Pascal
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org