On May 4, 2009, at 9:25 AM, Pascal Voitot wrote: > no problem! > > One thing I don't catch: > I'm working with the trunk, what do I need to do to correct the > bug? :)
Just svn up and rebuild or download a snapshot that was built after my fix. -Vincent > thks > Pascal > > On Mon, May 4, 2009 at 9:15 AM, Vincent Massol <[email protected]> > 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 >>> <[email protected]>wrote: >>> >>>> Yes I do it asap... >>>> >>>> >>>> On Sun, May 3, 2009 at 6:30 PM, Vincent Massol <[email protected]> >>>> 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 >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

