Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-45715

Calendar - Blank Scheduler when adding portlet to page and Google Javascript Minifier error

    Details

      Description

      1. Add calendar portlet to a page

      Expected results: Calendar portlet will display correctly with all functionality.

      Actual results: Calendar portlet will throw a Google Javascript minifier error, and the scheduler will be completely blank. Please see attached console errors and screenshot.

      D:\portal\bundles\tomcat-7.0.42\bin>catalina run
      Using CATALINA_BASE:   "D:\portal\bundles\tomcat-7.0.42"
      Using CATALINA_HOME:   "D:\portal\bundles\tomcat-7.0.42"
      Using CATALINA_TMPDIR: "D:\portal\bundles\tomcat-7.0.42\temp"
      Using JRE_HOME:        "C:\Program Files\Java\jdk1.7.0_51"
      Using CLASSPATH:       "D:\portal\bundles\tomcat-7.0.42\bin\bootstrap.jar;D:\portal\bundles\tomcat-7.0.42\bin\tomcat-juli.jar"
      Apr 04, 2014 5:16:44 PM org.apache.catalina.startup.Catalina initDirs
      SEVERE: Cannot find specified temporary folder at D:\portal\bundles\tomcat-7.0.42\temp
      Apr 04, 2014 5:16:45 PM org.apache.catalina.core.AprLifecycleListener init
      INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_51\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\ImageMagick-6.8.3-Q16;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk1.7.0_51\bin;C:\Program Files\apache-ant-1.8.2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files (x86)\Git\cmd;C:\Python27;C:\Program Files (x86)\Pandoc\bin;C:\bat;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;.
      Apr 04, 2014 5:16:45 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["http-bio-8080"]
      Apr 04, 2014 5:16:45 PM org.apache.coyote.AbstractProtocol init
      INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
      Apr 04, 2014 5:16:45 PM org.apache.catalina.startup.Catalina load
      INFO: Initialization processed in 485 ms
      Apr 04, 2014 5:16:45 PM org.apache.catalina.core.StandardService startInternal
      INFO: Starting service Catalina
      Apr 04, 2014 5:16:45 PM org.apache.catalina.core.StandardEngine startInternal
      INFO: Starting Servlet Engine: Apache Tomcat/7.0.42
      Apr 04, 2014 5:16:45 PM org.apache.catalina.startup.HostConfig deployDescriptor
      INFO: Deploying configuration descriptor D:\portal\bundles\tomcat-7.0.42\conf\Catalina\localhost\ROOT.xml
      Loading jar:file:/D:/portal/bundles/tomcat-7.0.42/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
      Loading file:/D:/portal/bundles/tomcat-7.0.42/webapps/ROOT/WEB-INF/classes/system-ext.properties
      Loading jar:file:/D:/portal/bundles/tomcat-7.0.42/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
      Loading file:/D:/portal/bundles/tomcat-7.0.42/webapps/ROOT/WEB-INF/classes/portal-ext.properties
      Loading file:/D:/portal/bundles/portal-ext.properties
      Apr 04, 2014 5:17:24 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      17:17:28,388 INFO  [localhost-startStop-1][DialectDetector:71] Determine dialect for MySQL 5
      17:17:28,414 INFO  [localhost-startStop-1][DialectDetector:136] Found dialect org.hibernate.dialect.MySQLDialect
      17:17:30,004 INFO  [fileinstall-D:/portal/bundles/data/osgi/portal][ChainActivator:211] Blueprint API detected; enabling Blueprint Container functionality
      17:17:30,009 INFO  [fileinstall-D:/portal/bundles/data/osgi/portal][LoggingActivator:211] Starting [org.eclipse.gemini.blueprint.extender] bundle v.[2.0.0.M02]
      17:17:30,071 INFO  [fileinstall-D:/portal/bundles/data/osgi/portal][ExtenderConfiguration:211] No custom extender configuration detected; using defaults...
      17:17:30,076 INFO  [fileinstall-D:/portal/bundles/data/osgi/portal][ExtenderConfiguration$1:211] Initializing Timer
      Starting Liferay Portal Community Edition 7.0.0 CE M1 (Wilberforce / Build 7000 / May 1, 2014)
      17:17:48,222 WARN  [localhost-startStop-1][ReleaseLocalServiceImpl:171] Table 'lportal.release_' doesn't exist
      17:17:48,223 INFO  [localhost-startStop-1][ReleaseLocalServiceImpl:84] Create tables and populate with default data
      17:17:53,199 INFO  [localhost-startStop-1][BaseDB:483] Database does not support case sensitive queries
      17:17:53,710 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyProcessSuite
      17:17:53,711 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyProperties
      17:17:53,720 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyDB2
      17:17:53,720 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyMySQL
      17:17:53,747 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyOracle
      17:17:53,748 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifySQLServer
      17:17:53,748 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyUUID
      17:17:53,757 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyPermission
      17:17:54,611 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyGroup
      17:17:54,644 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyRole
      17:17:54,645 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyAsset
      17:17:54,648 INFO  [localhost-startStop-1][UpgradeProcess:164] Upgrading com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries
      17:17:54,650 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyAuditedModel
      17:17:54,654 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyBlogs
      17:17:54,657 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyBookmarks
      17:17:54,663 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyCalendar
      17:17:54,667 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyDocumentLibrary
      17:17:54,769 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyDynamicDataMapping
      17:17:54,773 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyGroupId
      17:17:54,776 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyJournal
      17:17:54,787 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyLayout
      17:17:54,797 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyMessageBoards
      17:17:54,807 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyOrganization
      17:17:54,814 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyResourcePermissions
      17:17:54,815 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifySocial
      17:17:54,824 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyUser
      17:17:54,830 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyWiki
      17:17:54,833 INFO  [localhost-startStop-1][VerifyProcess:55] Verifying com.liferay.portal.verify.VerifyWorkflow
      17:17:54,873 INFO  [localhost-startStop-1][ServerDetector:119] Server supports hot deploy
      17:17:54,878 INFO  [localhost-startStop-1][PluginPackageUtil:1012] Reading plugin package for the root context
      17:18:11,787 INFO  [localhost-startStop-1][AutoDeployDir:116] Creating missing directory D:\portal\bundles\deploy
      17:18:11,788 INFO  [localhost-startStop-1][AutoDeployDir:139] Auto deploy scanner started for D:\portal\bundles\deploy
      Apr 04, 2014 5:18:20 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring FrameworkServlet 'Remoting Servlet'
      Apr 04, 2014 5:18:20 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory D:\portal\bundles\tomcat-7.0.42\webapps\marketplace-portlet
      17:18:23,248 INFO  [localhost-startStop-1][HotDeployImpl:198] Deploying marketplace-portlet from queue
      17:18:23,249 INFO  [localhost-startStop-1][PluginPackageUtil:1015] Reading plugin package for marketplace-portlet
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/0-marketplace-portlet/WEB-INF/classes/portlet.properties
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/0-marketplace-portlet/WEB-INF/classes/service.properties
      17:18:23,343 INFO  [localhost-startStop-1][ServiceComponentLocalServiceImpl:313] Running Marketplace SQL scripts
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/0-marketplace-portlet/WEB-INF/classes/portlet.properties
      Apr 04, 2014 5:18:23 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/0-marketplace-portlet/WEB-INF/classes/service.properties
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/0-marketplace-portlet/WEB-INF/classes/service.properties
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/0-marketplace-portlet/WEB-INF/classes/service.properties
      17:18:24,115 INFO  [localhost-startStop-1][HookHotDeployListener:689] Registering hook for marketplace-portlet
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/0-marketplace-portlet/WEB-INF/classes/portal.properties
      17:18:24,153 INFO  [localhost-startStop-1][UpgradeProcess:164] Upgrading com.liferay.marketplace.hook.upgrade.UpgradeProcess_1_0_0
      17:18:24,154 INFO  [localhost-startStop-1][UpgradeProcess:164] Upgrading com.liferay.marketplace.hook.upgrade.v1_0_0.UpgradeExpando
      17:18:24,195 INFO  [localhost-startStop-1][HookHotDeployListener:816] Hook for marketplace-portlet is available for use
      17:18:24,198 INFO  [localhost-startStop-1][PortletHotDeployListener:243] Registering portlets for marketplace-portlet
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/0-marketplace-portlet/WEB-INF/classes/portlet.properties
      17:18:24,443 INFO  [localhost-startStop-1][PortletHotDeployListener:397] 3 portlets for marketplace-portlet are available for use
      Apr 04, 2014 5:18:25 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["http-bio-8080"]
      Apr 04, 2014 5:18:25 PM org.apache.coyote.AbstractProtocol start
      INFO: Starting ProtocolHandler ["ajp-bio-8009"]
      Apr 04, 2014 5:18:25 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 100326 ms
      17:19:36,793 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:204] Processing calendar-portlet-7.0.0.1.war
      17:19:36,795 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:79] Copying portlets for D:\portal\bundles\deploy\calendar-portlet-7.0.0.1.war
      17:19:36,806 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:876] Deploying calendar-portlet-7.0.0.1.war
        Expanding: D:\portal\bundles\deploy\calendar-portlet-7.0.0.1.war into D:\portal\bundles\tomcat-7.0.42\temp\20140404171936808
        Copying 1 file to D:\portal\bundles\tomcat-7.0.42\temp\20140404171936808\WEB-INF
        Copying 1 file to D:\portal\bundles\tomcat-7.0.42\temp\20140404171936808\WEB-INF\classes
        Copying 1 file to D:\portal\bundles\tomcat-7.0.42\temp\20140404171936808\WEB-INF\classes
        Copying 1 file to D:\portal\bundles\tomcat-7.0.42\temp\20140404171936808\WEB-INF\jsp
      17:19:37,535 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2422] Modifying Servlet 2.4 D:\portal\bundles\tomcat-7.0.42\temp\20140404171936808\WEB-INF\web.xml
        Copying 566 files to D:\portal\bundles\tomcat-7.0.42\webapps\calendar-portlet
        Copying 1 file to D:\portal\bundles\tomcat-7.0.42\webapps\calendar-portlet
        Deleting directory D:\portal\bundles\tomcat-7.0.42\temp\20140404171936808
      17:19:38,075 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:91] Portlets for D:\portal\bundles\deploy\calendar-portlet-7.0.0.1.war copied successfully. Deployment will start in a few seconds.
      Apr 04, 2014 5:19:45 PM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory D:\portal\bundles\tomcat-7.0.42\webapps\calendar-portlet
      17:19:46,517 INFO  [localhost-startStop-2][HotDeployEvent:130] Plugin calendar-portlet requires marketplace-portlet
      17:19:46,518 INFO  [localhost-startStop-2][HotDeployImpl:198] Deploying calendar-portlet from queue
      17:19:46,519 INFO  [localhost-startStop-2][PluginPackageUtil:1015] Reading plugin package for calendar-portlet
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/1-calendar-portlet/WEB-INF/classes/portlet.properties
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/1-calendar-portlet/WEB-INF/classes/service.properties
      17:19:46,622 INFO  [localhost-startStop-2][ServiceComponentLocalServiceImpl:313] Running Calendar SQL scripts
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/1-calendar-portlet/WEB-INF/classes/portlet.properties
      Apr 04, 2014 5:19:47 PM org.apache.catalina.core.ApplicationContext log
      INFO: Initializing Spring root WebApplicationContext
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/1-calendar-portlet/WEB-INF/classes/service.properties
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/1-calendar-portlet/WEB-INF/classes/service.properties
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/1-calendar-portlet/WEB-INF/classes/service.properties
      17:19:48,607 INFO  [localhost-startStop-2][HookHotDeployListener:689] Registering hook for calendar-portlet
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/1-calendar-portlet/WEB-INF/classes/portal.properties
      17:19:49,072 INFO  [localhost-startStop-2][HookHotDeployListener:816] Hook for calendar-portlet is available for use
      17:19:49,084 INFO  [localhost-startStop-2][PortletHotDeployListener:243] Registering portlets for calendar-portlet
      Loading file:/D:/portal/bundles/tomcat-7.0.42/temp/1-calendar-portlet/WEB-INF/classes/portlet.properties
      17:19:49,371 INFO  [localhost-startStop-2][PortletHotDeployListener:392] 1 portlet for calendar-portlet is available for use
      17:19:49,372 INFO  [localhost-startStop-2][SocialHotDeployListener:94] Registering social for calendar-portlet
      17:19:49,374 INFO  [localhost-startStop-2][SocialHotDeployListener:103] Social for calendar-portlet is available for use
      17:23:17,999 ERROR [http-bio-8080-exec-1][GoogleJavaScriptMinifier:88] (jndi:/localhost/calendar-portlet/js/javascript.js:285): Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option.
      17:23:18,000 ERROR [http-bio-8080-exec-1][GoogleJavaScriptMinifier:103] {0} error(s), {1} warning(s)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 28 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 M1