On Feb 4, 2011, at 10:34 AM, Vincent Massol wrote:
On Feb 3, 2011, at 12:35 PM, Vincent Massol wrote:
Hi devs,
I've noticed 3 problems we might want/need to fix before the final 3.0 release:
I've confirmed that Blog App 1.26 doesn't work with XE 3.0M1 (version 1.27 works). I'm investigating what we changed.
ok the problem is the Velocity 1.7 upgrade: #getEntryDate($entryDoc $entryObj $entryDate) ## Display a "calendar sheet" for each day. All entries posted on the same day share one such sheet. #set($entryDateStr = $xwiki.formatDate($entryDate, 'yyyyMMMMdd')) This means that $entryDate is null. Need to think about what we could do to alleviate the problem. Thanks -Vincent
Thanks -Vincent
[snip]
3) Previous blog application fails on XE 3.0M1 with:
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [{{html clean="false" wiki="true"}} ## ## ## #showBlogInfo($doc) #if($context.action != 'inline') #printBlog($doc) #end {{/html}}]
[snip]
Caused by: java.lang.NullPointerException at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5965) at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5970) at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:2098) at sun.reflect.GeneratedMethodAccessor953.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) ... 121 more
Any taker to analyze problems 1) and 3)?
Thanks -Vincent