Hide Forgot
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000005fAOg project_key: JBEPP Attached javascript library works when the server is started with exo.product.developing=true. When it is set false they don't.
Link: Added: This issue is a dependency of GTNPORTAL-1182
Attachment: Added: emoticons.js
For a fix we would need a new Javascript compressor such as Google Closure, it requires significant changes and proper testing which would be more appropriate for a minor (5.2) release. As a workaround it is possible to desactivate the Javascript compressor without falling back to development mode. To do so: 1) Edit: gatein.ear/02portal.war/WEB-INF/conf/common/resource-compressor-configuration.xml and remove the following section: <component-plugin> <name>JSMinCompressorPlugin</name> <set-method>registerCompressorPlugin</set-method> <type>org.exoplatform.portal.resource.compressor.impl.JSMinCompressorPlugin</type> <init-params> <value-param> <name>plugin.priority</name> <value>1</value> </value-param> </init-params> </component-plugin> 2) Delete the server/default/tmp directory Note: on first load there will be WARNs in the log such as: 20:50:39,635 WARN [JavascriptConfigService] Error when generating minified javascript, will use normal javascript instead org.exoplatform.portal.resource.compressor.ResourceCompressorException: There is no compressor for JAVASCRIPT type Those can be ignored.
Link: Added: This issue relates to JBEPP-884
We should try with Google closure, See GTNPORTAL-198
Already included from 5.1 branch
There was a workaround in 5.1, this requires the solution to use an alternative Javascript compressing tool like Google closure. See https://issues.jboss.org/browse/GTNPORTAL-198
Link: Added: This issue relates to GTNPORTAL-198
Release Notes Docs Status: Added: Not Yet Documented
Release Notes Docs Status: Removed: Not Yet Documented Added: Needs More Info Release Notes Text: Added: CAUSE: CONSEQUENCE: FIX: RESULT: Primary SME: Added: hfnukal NEEDINFO Due Date: Added: 30/Nov/11 NEEDINFO: Added: Subject Matter Expert
Release Notes Docs Status: Removed: Needs More Info Added: Not Yet Documented Release Notes Text: Removed: CAUSE: CONSEQUENCE: FIX: RESULT: Added: CAUSE: EPP ships with a resource compressor (CSS and Javascript) CONSEQUENCE: Some javascript files were incorrectly compressed and would break unless the developer mode was enabled which has performance side effects FIX: The Javascript compressing engine has been replaced, and it's also possible to turn it off. RESULT: The Javascript should always be able to work.
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue Release Notes Text: Removed: CAUSE: EPP ships with a resource compressor (CSS and Javascript) CONSEQUENCE: Some javascript files were incorrectly compressed and would break unless the developer mode was enabled which has performance side effects FIX: The Javascript compressing engine has been replaced, and it's also possible to turn it off. RESULT: The Javascript should always be able to work. Added: The platform ships with a resource compressor (CSS and Javascript). Some javascript files were incorrectly compressed and would break unless the developer mode was enabled. Enabling the developer mode introduced performance side-effects. The Javascript compression engine has been replaced, and can be turned off if required, which fixes the issue. NEEDINFO Due Date: Removed: 30/Nov/11 NEEDINFO: Removed: Subject Matter Expert Added: Nobody