As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
HiThis has been fixed for 2.1.2 Enterprise and will also be in the next drop of v2.9 Community.Improvements have been made to the handling of webdav links in the Office add-in web scripts. You'll find that documents will load ok over webdav from the userhome folder (the first one displayed) but not from other spaces.Thanks,Mike
HiThis was just a fix to the Office webscripts.Thanks,Mike
projects/web-client/config/alfresco/templates/webscripts/org/alfresco/office/
No, those would just be the client-side scripts. You (also) need to update the webscripts in:projects/web-client/config/alfresco/templates/webscripts/org/alfresco/office/Thanks,Mike
The Web Script /alfresco/wcservice/office/documentDetails has responded with a status of 500 - Internal Error. 500 Description: An error inside the HTTP server which prevented it from fulfilling the request. Message: Error during processing of the template 'Expression message("office.title.document_details") is undefined on line 16, column 13 in org/alfresco/office/documentDetails.get.html.ftl.'. Please contact your system administrator. Exception: freemarker.core.InvalidReferenceException - Expression message("office.title.document_details") is undefined on line 16, column 13 in org/alfresco/office/documentDetails.get.html.ftl. freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) freemarker.core.Expression.getStringValue(Expression.java:118) freemarker.core.Expression.getStringValue(Expression.java:93) freemarker.core.DollarVariable.accept(DollarVariable.java:76) freemarker.core.Environment.visit(Environment.java:196) freemarker.core.MixedContent.accept(MixedContent.java:92) freemarker.core.Environment.visit(Environment.java:196) freemarker.core.Environment.process(Environment.java:176) freemarker.template.Template.process(Template.java:232) org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:200) org.alfresco.web.scripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:329) org.alfresco.web.scripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:232) org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:158) org.alfresco.web.scripts.WebScriptRuntime.wrappedExecute(WebScriptRuntime.java:342) org.alfresco.web.scripts.WebScriptRuntime.authenticatedExecute(WebScriptRuntime.java:308) org.alfresco.web.scripts.WebScriptRuntime$1.execute(WebScriptRuntime.java:163) org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225) org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155) org.alfresco.web.scripts.WebScriptRuntime.executeScript(WebScriptRuntime.java:174) org.alfresco.web.scripts.WebScriptServlet.service(WebScriptServlet.java:109) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) java.lang.Thread.run(Thread.java:619) Exception: org.alfresco.service.cmr.repository.TemplateException - Error during processing of the template 'Expression message("office.title.document_details") is undefined on line 16, column 13 in org/alfresco/office/documentDetails.get.html.ftl.'. Please contact your system administrator. org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:204) Server: Alfresco Community Network v2.1.0 (482) schema 64 Time: May 28, 2008 11:31:34 AM Diagnostics: Inspect Web Script (org/alfresco/office/documentDetails.get)
Good spot! Sorry, I'd forgotten those messages were new in V2.9.You'll also need office-addin-context.xml from projects/web-client/config/alfresco (the parent folder to the .properties file) which will bootstrap the messages file into Spring.Thanks,Mike
<bean id="actionResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent"> <property name="resourceBundles"> <list> <value>alfresco.messages.action-service</value> <value>alfresco.messages.action-config</value> <value>alfresco.messages.office-addin</value> </list> </property> </bean>