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

Deploying Private Messaging Portlet ends up in JSP compilation error

    Details

    • Type: Regression Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.0 CE M4
    • Fix Version/s: 6.2.0 CE M4
    • Labels:
    • Environment:
      Tomcat 7 + MySQL 5.
      Portal 6.2.x GIT ID: 91483b5227b13fb9ceb393334b06f5c539050363
      Plugins 6.2.x GIT ID: 91b2661637db08d428d109cd08d452034c95f586
    • Fix Priority:
      4

      Description

      Data model change introduced by LPS-31679 prevents the Private Messaging Portlet (PMP in what follows) from being deployed.

      Reproduction steps

      • Have a Liferay Portal instance up and running.
      • Compile PMP from source.
      • Deploy PMP war.
      • The following error message appears in the log.
      14:48:08,023 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:177] Processing private-messaging-portlet-6.2.0.1.war
      14:48:08,027 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:77] Copying portlets for /home/lcsontos/liferay/instances/lportal-trunk/deploy/private-messaging-portlet-6.2.0.1.war
      14:48:08,046 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:833] Deploying private-messaging-portlet-6.2.0.1.war
        Expanding: /home/lcsontos/liferay/instances/lportal-trunk/deploy/private-messaging-portlet-6.2.0.1.war into /tmp/20130109144808048
        Copying 1 file to /tmp/20130109144808048/WEB-INF
        Copying 1 file to /tmp/20130109144808048/WEB-INF/classes
        Copying 1 file to /tmp/20130109144808048/WEB-INF/classes
        Copying 1 file to /tmp/20130109144808048/WEB-INF
        Copying 1 file to /tmp/20130109144808048/WEB-INF
        Copying 1 file to /tmp/20130109144808048/WEB-INF/jsp
      14:48:08,312 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2276] Modifying Servlet 2.4 /tmp/20130109144808048/WEB-INF/web.xml
        Copying 218 files to /home/lcsontos/liferay/instances/lportal-trunk/wls-10.3.6/autodeploy/private-messaging-portlet
        Copying 1 file to /home/lcsontos/liferay/instances/lportal-trunk/wls-10.3.6/autodeploy/private-messaging-portlet
        Deleting directory /tmp/20130109144808048
      14:48:08,457 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletAutoDeployListener:89] Portlets for /home/lcsontos/liferay/instances/lportal-trunk/deploy/private-messaging-portlet-6.2.0.1.war copied successfully. Deployment will start in a few seconds.
      <Jan 9, 2013 2:48:09 PM CET> <Warning> <HTTP> <BEA-101342> <_appsdir_private-messaging-portlet_dir: Error(s) encountered while pre-compiling jsp jspURI
       view.jsp:33:22: Error in "view_thread.jspf" at line 193: The method isAttachments() is undefined for the type MBMessage
      				<%@ include file="/view_thread.jspf" %>
                                                       ^-----------------^
      view.jsp:33:22: Error in "view_thread.jspf" at line 222: The method isAttachments() is undefined for the type MBMessage
      				<%@ include file="/view_thread.jspf" %>
                                                       ^-----------------^
      > 
      

        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:
                  4 years, 27 weeks, 2 days ago