Oracle OpenOffice plugin and LibreOffice

So, i would like to release a quick fix for the updated OpenOffice plugin by Oracle (previously Sun Connector for Alfresco CMS)…

First, let see the error in log:

10:51:23,318 User:admin ERROR [freemarker.runtime] Expression path is undefined on line 53, column 61 in org/alfresco/office/navigation.get.xml.ftl.

Expression path is undefined on line 53, column 61 in org/alfresco/office/navigation.get.xml.ftl.
The problematic instruction:
----------
==> ${path?url} [on line 53, column 59 in org/alfresco/office/navigation.get.xml.ftl]
----------

Error occured by an unhandled and missing ‘path’ variable in freemarker template. Put following code before ‘notication’ XML tag (you can replace initial value of ‘path’ variable with something else of course):

<#if path??>
<#else>
<#assign path="/">
</#if>

Another quick tip for Alfresco-side installation, just use repository instead of local filesystem to override (no need to overwrite) ‘office’ webscript templates in deployed Alfresco:

And finally, the plugin works with LibreOffice 3.3 too:

Leave a Reply

Your email address will not be published. Required fields are marked *