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 Regression Bug
    • Status: Closed
    • 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
    • Similar Issues:
      Show 5 results 

      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" %>
                                                       ^-----------------^
      > 
      

        Issue Links

          Activity

          Hide
          Mate Thurzo added a comment -

          Can you please split the two bugs in this into two tickets? I mean this one and one other ticket. Thanks!

          Show
          Mate Thurzo added a comment - Can you please split the two bugs in this into two tickets? I mean this one and one other ticket. Thanks!
          Hide
          Laszlo Csontos added a comment -

          OK, filed LPS-32215 for it.

          Show
          Laszlo Csontos added a comment - OK, filed LPS-32215 for it.
          Hide
          Serena Song (Inactive) added a comment - - edited

          PASSED Manual Testing using the following steps:

          1. Have a Liferay Portal instance up and running.
          2. Compile Private Messaging Portlet from source.
          3. Deploy Private Messaging Portlet war.
          4. Add Private Messaging Portlet to a page.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 91483b5227b13fb9ceb393334b06f5c539050363.
          Plugins 6.2.x GIT ID: 91b2661637db08d428d109cd08d452034c95f58.

          Private Messaging is temporarily unavailable and the console will throws JSP compilation error.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c86878cf918556733dcee9ae22502d7aa60e984d.
          Plugins 6.2.x EE GIT ID: 6d689906b7c67cdf376e5c92e88fead48528ac12.

          There is no error or exception in the console.

          Show
          Serena Song (Inactive) added a comment - - edited PASSED Manual Testing using the following steps: Have a Liferay Portal instance up and running. Compile Private Messaging Portlet from source. Deploy Private Messaging Portlet war. Add Private Messaging Portlet to a page. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 91483b5227b13fb9ceb393334b06f5c539050363. Plugins 6.2.x GIT ID: 91b2661637db08d428d109cd08d452034c95f58. Private Messaging is temporarily unavailable and the console will throws JSP compilation error. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c86878cf918556733dcee9ae22502d7aa60e984d. Plugins 6.2.x EE GIT ID: 6d689906b7c67cdf376e5c92e88fead48528ac12. There is no error or exception in the console.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 24 weeks, 4 days ago

                Development

                  Structure Helper Panel