hello XWikiers, I started writing an analyzer based on velocidoc. It gives me the line-numbers and file-names as in an error report, easy to click to. I'll try to put it into: https://github.com/xwiki-contrib/sandbox/tree/master/velocidoc quite soon. Unfortunately, I do not have a tool yet to extract the source from the xwiki-pages massively... Another surprise change is: #if($!request.language!="") has-language #else has-no-language #end was returning has-no-language if the language parameter was not included but now returns has-language. The simple workaround is to put quotes around the left-hand-side thus making sure strings are compared. Acknowledge? I'll put this into the web-page then. paul Le 4 janv. 2012 à 04:01, Sergiu Dumitriu a écrit :
Yes, this is something known, and there are workarounds to the change, but there's no easy way of reverting to the old behavior. The way we used macros wasn't something (at least some of) the Velocity developers expected to actually happen, and they didn't want to support the old way macros were evaluated, so this change had to happen.
Here you can see the problem explained in more details, along with some solutions: http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise30#HT...