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

My Subscriptions Deployment Console Error and Portlet Temporarily Unavailable

    Details

      Description

      1. Start the application server
      2. Hot deploy the "My Subscriptions" plugin
      3. Click Add > Page
      4. Name the page "Test"
      5. Click "Test"
      6. Click Add > More...
      7. Click Collaboration > My Subscriptions (Add)
      8. Console will display JavaScript errors
      18:18:32,574 ERROR [PortletRequestDispatcherImpl:108] org.apache.jasper.JasperException: Unable to compile class for JSP:
      
      An error occurred at line: 51 in the jsp file: /init.jsp
      PortalUtil cannot be resolved
      48: <liferay-theme:defineObjects />
      49:
      50: <%
      51: String currentURL = PortalUtil.getCurrentURL(request);
      52:
      53: Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale, timeZone);
      54: %>
      
      
      An error occurred at line: 74 in the jsp file: /view.jsp
      LiferayPortletRequest cannot be resolved to a type
      71:                             String rowURL = null;
      72:
      73:                             if (assetRenderer != null) {
      74:                                     rowURL = assetRenderer.getURLViewInContext((LiferayPortletRequest)renderRequest, (LiferayPortletResponse)renderResponse, currentURL);
      75:                             }
      76:                             else {
      77:                                     rowURL = MySubscriptionsUtil.getAssetURLViewInContext(subscription.getClassName(), subscription.getClassPK());
      
      
      An error occurred at line: 74 in the jsp file: /view.jsp
      LiferayPortletResponse cannot be resolved to a type
      71:                             String rowURL = null;
      72:
      73:                             if (assetRenderer != null) {
      74:                                     rowURL = assetRenderer.getURLViewInContext((LiferayPortletRequest)renderRequest, (LiferayPortletResponse)renderResponse, currentURL);
      75:                             }
      76:                             else {
      77:                                     rowURL = MySubscriptionsUtil.getAssetURLViewInContext(subscription.getClassName(), subscription.getClassPK());
      
      
      Stacktrace:
      org.apache.jasper.JasperException: Unable to compile class for JSP:
      
      An error occurred at line: 51 in the jsp file: /init.jsp
      PortalUtil cannot be resolved
      48: <liferay-theme:defineObjects />
      49:
      50: <%
      51: String currentURL = PortalUtil.getCurrentURL(request);
      52:
      53: Format dateFormatDateTime = FastDateFormatFactoryUtil.getDateTime(locale, timeZone);
      54: %>
      
      
      An error occurred at line: 74 in the jsp file: /view.jsp
      LiferayPortletRequest cannot be resolved to a type
      71:                             String rowURL = null;
      72:
      73:                             if (assetRenderer != null) {
      74:                                     rowURL = assetRenderer.getURLViewInContext((LiferayPortletRequest)renderRequest, (LiferayPortletResponse)renderResponse, currentURL);
      75:                             }
      76:                             else {
      77:                                     rowURL = MySubscriptionsUtil.getAssetURLViewInContext(subscription.getClassName(), subscription.getClassPK());
      
      
      An error occurred at line: 74 in the jsp file: /view.jsp
      LiferayPortletResponse cannot be resolved to a type
      71:                             String rowURL = null;
      72:
      73:                             if (assetRenderer != null) {
      74:                                     rowURL = assetRenderer.getURLViewInContext((LiferayPortletRequest)renderRequest, (LiferayPortletResponse)renderResponse, currentURL);
      75:                             }
      76:                             else {
      77:                                     rowURL = MySubscriptionsUtil.getAssetURLViewInContext(subscription.getClassName(), subscription.getClassPK());
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 19 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2