PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-33970

Restarting the Liferay server results in the mail listener for the message board portlet not working

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      5
    • Fix Priority:
      3
    • Similar Issues:
      Show 4 results 

      Description

      Summary:
      Restarting the server results in the mail listener not working. The mailing list settings need to be de-activated and then re-activated to get the mailing list to work correctly.

      Steps to reproduce:
      1. Unzip the Liferay tomcat bundle.
      2. Start-up connecting to a clean MySQL database.
      3. Login as the admin user.
      4. Place a message board portlet on a page.
      5. Change the configuration for the message board portlet as follows:
      5.1 Allow anonymous posting or use a defined user with a known email address for testing.
      5.2 Set-up from address
      5.3 Enable message added email.
      5.4 Enable message updated email.
      5.5 Scope to GLOBAL.
      6. Create a new category.
      7. Enable mail listing for category, using;
      7.1 IMAP account - in my case it was a QQ IMAP account, e.g liferay.test@qq.com.
      8. From any email client using the test user, send an email to the category mailing list address, e.g. liferay.test@qq.com.
      9. Email will appear in the IMAP inbox and eventually get processed into the message board.
      10. Shutdown the liferay instance and restart it.
      11. From any email client using the test user, send another email to the category mailing list address, e.g. liferay.test@qq.com.
      12. This time the email will appear in the IMAP inbox, but the MailingListMessageListener does not process the inbox and import the message into the message board.
      13. You can confirm this by waiting 2 to 3 times longer then the polling period you defined for the message board category mailing list. The message will not import.
      14. Edit the message board category mailing list and de-activate it. Save.
      15. Edit the message board category mailing list and re-activate it. Save.
      16. The MailingListMessageListener will now import the message.

      Notes:
      Able to reproduce on Git ID : 2665eac6510d5a3900b9463dea77bb2a0d182ec9
      Able to reproduce on 6.1.x Rev.138621

        Activity

        Hide
        Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Reproudced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

        The mail listener for Message Boards does not work after restarting liferay server.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: ba2892acfcd7c99518fbd789014853b6b5f108bc.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: f8c3bbeea49fc029447dcb44210025369b4d354d.

        The mail listener for Message Boards works properly. The message posts to the category correctly.

        Show
        Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproudced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. The mail listener for Message Boards does not work after restarting liferay server. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: ba2892acfcd7c99518fbd789014853b6b5f108bc. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: f8c3bbeea49fc029447dcb44210025369b4d354d. The mail listener for Message Boards works properly. The message posts to the category correctly.

          People

          • Assignee:
            Pani Gui (Inactive)
            Reporter:
            Michael Chen (Inactive)
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 14 weeks ago

              Development

                Structure Helper Panel