掲示板

Install Social Office on Liferay 6.2.GA3 breaks display formatting

9年前 に Stephen Crisp によって更新されました。

Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 2 参加年月日: 15/01/09 最新の投稿
I've been evaluating the latest Liferay 6.2.CE.GA3. As soon as I install Social Office all portal pages are displayed incorrectly - almost as if the CSS has messed up somehow.

I'm using a clean install of the liferay tomcat bundle, using mysql (no extra apps from the Store). All was working fine until installing Social Office. Has anyone else seen the same issue (see error log below)?

Looking at the tomcat logs I see:

Jan 25, 2015 9:37:23 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 332 in the jsp file: /html/common/themes/portlet_css.jspf
The method _escapeCssBlock(String) is undefined for the type top_005fhead_jsp
329:
330: String finalCSSString = StringUtil.merge(finalCSSArray, ";\n");
331:
332: out.print(_escapeCssBlock(finalCSSString));
333:
334: out.print("\n}\n");
335:


An error occurred at line: 339 in the jsp file: /html/common/themes/portlet_css.jspf
The method _escapeCssBlock(String) is undefined for the type top_005fhead_jsp
336: // Advanced CSS
337:
338: if (Validator.isNotNull(customCSS)) {
339:    out.print(_escapeCssBlock(customCSS));
340: }
341: %>
342:


Stacktrace:
        at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
        at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
        at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
        at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:55)
        at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
        at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
        at com.liferay.taglib.util.VelocityTaglibImpl.include(VelocityTaglibImpl.java:643)
        at sun.reflect.GeneratedMethodAccessor917.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
        at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
        at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
        at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)
        at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:342)
        at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
        at org.apache.velocity.Template.merge(Template.java:328)
        at org.apache.velocity.Template.merge(Template.java:235)
        at com.liferay.portal.velocity.VelocityTemplate.processTemplate(VelocityTemplate.java:112)
        at com.liferay.portal.template.AbstractTemplate.processTemplate(AbstractTemplate.java:108)
        at com.liferay.taglib.util.ThemeUtil.doIncludeVM(ThemeUtil.java:511)
        at com.liferay.taglib.util.ThemeUtil.doDispatch(ThemeUtil.java:177)
        at com.liferay.taglib.util.ThemeUtil.includeVM(ThemeUtil.java:133)
        at com.liferay.taglib.util.ThemeUtil.include(ThemeUtil.java:99)
        at com.liferay.taglib.theme.IncludeTag.doEndTag(IncludeTag.java:34)
        at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_liferay_002dtheme_005finclude_005f1(portal_jsp.java:574)
        at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:517)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
        at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:78)
        at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:284)
        at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
        at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
        at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:178)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:549)
        at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:526)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
        at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:156)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:359)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:123)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:243)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
        at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:267)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
        at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:320)
        at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
        at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
9年前 に Jeffrey Barbieri によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 1 参加年月日: 12/07/11 最新の投稿
I'm experiencing the exact same issue. I had to go back to 6.2 GA2 to get things working again. Hopefully we'll hear something soon.
thumbnail
9年前 に Jonathan Lee によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting (回答)

New Member 投稿: 14 参加年月日: 10/09/16 最新の投稿
Since Portal 6.2 GA3 included a fix for https://issues.liferay.com/browse/LPS-44286. SO CE code will also have to reflect that change.

There are two ways to remedy this issue,

1). You can add the following lines of code in top_head.jsp in portal-compat-hook and also in |ROOT\html\common\themes

private String _escapeCssBlock(String css) {
	return StringUtil.replace(
		css,
		new String[] {"<", "expression("},
		new String[] {"\\3c", ""}
	);
}


2) Wait for a CE release of Social Office that is compatible for Portal 6.2 GA3

I am hoping 2) will happen soon.
9年前 に Stephen Crisp によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 2 参加年月日: 15/01/09 最新の投稿
Dear Jonathan,

Thank you for your response. I've implemented and tested your workaround tonight and can confirm it works. Thank you very much.

-Steve.
9年前 に Benjamin Smith によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 6 参加年月日: 15/01/19 最新の投稿
Hello,

I tried the above workaround on version 6.2-6 and it does not seem to work—the entire installation breaks after enabling Social Office for my account.

I'm really bummed too—I very much want to start using Social Office!

Cheers.
9年前 に David Welch によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

Junior Member 投稿: 87 参加年月日: 15/02/19 最新の投稿
Same issue, just installed 6.2.GA3 as my first install of LR in years, really wanting to use the Social Office features. Will try the fix mentioned, but, please fix ?
9年前 に Sebastian Schreiber によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 1 参加年月日: 15/02/23 最新の投稿
I've just run into the same issue but for me Jonathan Lee's suggestion worked perfectly fine with one minor alteration: I only changed the top_head.jsp in the portal-compat-hook.
Thanks for the good advice Jonathan!
thumbnail
9年前 に Vicki Lea Tsang によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

Junior Member 投稿: 49 参加年月日: 11/04/18 最新の投稿
Just a quick update: We've starting working on an SO CE release with this fix. We'll have an estimated release date shortly.

Thanks for bringing this up!
thumbnail
9年前 に Nick Burton によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

Junior Member 投稿: 51 参加年月日: 14/07/13 最新の投稿
Jonathan Lee:
Since Portal 6.2 GA3 included a fix for https://issues.liferay.com/browse/LPS-44286. SO CE code will also have to reflect that change.

There are two ways to remedy this issue,

1). You can add the following lines of code in top_head.jsp in portal-compat-hook and also in |ROOT\html\common\themes

private String _escapeCssBlock(String css) {
	return StringUtil.replace(
		css,
		new String[] {"<", "expression("},
		new String[] {"\\3c", ""}
	);
}


2) Wait for a CE release of Social Office that is compatible for Portal 6.2 GA3

I am hoping 2) will happen soon.



Sorry if I'm missing something obvious.
I've tried to insert the code suggested in both locations, but it didn't work for me.

Can the code be inserted anywhere in the files?

Thanks in advance .
Nick
thumbnail
9年前 に Krunoslav Sabljak によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 3 参加年月日: 09/12/16 最新の投稿
at the bottom of the top_head.jsp, inside the scriptlet looking like

<%!
private static Log _log = LogFactoryUtil.getLog("portal-web.docroot.html.common.themes.top_head_jsp");
%>


now it should look something like this:


<%!
private String _escapeCssBlock(String css) {
   return StringUtil.replace(
        css,
        new String[] {"<", "expression("},
        new String[] {"\\3c", ""}
    );
}
private static Log _log = LogFactoryUtil.getLog("portal-web.docroot.html.common.themes.top_head_jsp");
%>
9年前 に Benjamin Smith によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 6 参加年月日: 15/01/19 最新の投稿
It doesn't work for me either. With any of the above suggestions in any of the files the only result is it basically removes theming altogether.
thumbnail
9年前 に Vicki Lea Tsang によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

Junior Member 投稿: 49 参加年月日: 11/04/18 最新の投稿
Good news! SO 3.1 CE just released! Check it out here and please let us know if it resolved your issues!
9年前 に Benjamin Smith によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 6 参加年月日: 15/01/19 最新の投稿
Vicki Lea Tsang:
Good news! SO 3.1 CE just released! Check it out here and please let us know if it resolved your issues!


Don't know what other experiences have been, but when I install Social Office from marketplace, it still breaks my Liferay site. Basically, links no longer work.

Only browser errors I get are:

"TypeError: Liferay.NotificationsList is not a constructor "


And this mess:

"NetworkError: 404 Not Found - http://gsonline.bitnamiapp.com/notifications-portlet/notifications/css/main.css?browserId=firefox&themeId=welcome_WAR_welcometheme&minifierType=css&languageId=en_US&b=6201&t=1425914989000"
main.cs...4989000
"NetworkError: 404 Not Found - http://gsonline.bitnamiapp.com/chat-portlet/js/main.js?browserId=firefox&minifierType=js&languageId=en_US&b=6201&t=1425915006000"
main.js...5006000
"NetworkError: 404 Not Found - http://gsonline.bitnamiapp.com/chat-portlet/css/main.css?browserId=firefox&themeId=welcome_WAR_welcometheme&minifierType=css&languageId=en_US&b=6201&t=1425915006000"
main.cs...5006000
"NetworkError: 404 Not Found - http://gsonline.bitnamiapp.com/notifications-portlet/notifications/js/main.js?browserId=firefox&minifierType=js&languageId=en_US&b=6201&t=1425914989000"
main.js...4989000
"NetworkError: 404 Not Found - http://gsonline.bitnamiapp.com/chat-portlet/css/main.css?browserId=firefox&themeId=welcome_WAR_welcometheme&minifierType=css&languageId=en_US&b=6201&t=1425915006000"
main.cs...5006000
"NetworkError: 404 Not Found - http://gsonline.bitnamiapp.com/notifications-portlet/notifications/js/main.js?browserId=firefox&minifierType=js&languageId=en_US&b=6201&t=1425914989000"
main.js...4989000
"NetworkError: 404 Not Found - http://gsonline.bitnamiapp.com/chat-portlet/js/main.js?browserId=firefox&minifierType=js&languageId=en_US&b=6201&t=1425915006000"
main.js...5006000


But I'm not sure if those are related.

Cheers.
8年前 に Shahid Khokhar によって更新されました。

RE: Install Social Office on Liferay 6.2.GA3 breaks display formatting

New Member 投稿: 1 参加年月日: 15/03/24 最新の投稿
I'm also experiencing same issue with SO 3.1 CE & Liferay 6.2 CE GA6.
-SK.