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

IMAP Mailing List configuration for messageboards does not work correctly.(the first folder is not inbox)

    Details

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

      Description

      1. Login as the admin user.
      2. As per the screenshots, place a message board portlet on a page.
      3. Change the configuration for the message board portlet as follows:
      3.1 Allow anonymous posting or use a defined user with a known email address for testing.
      3.2 Set-up from address. enter one email address.
      3.3 Enable message added email.
      3.4 Enable message updated email.
      3.5 Scope to GLOBAL.
      4. Create a new category.
      5. Enable mail listing for category, using;
      6.1 IMAP account - in our case it was a Gmail IMAP account. Please refer Mailing_List_Configuration.jpg
      7. Login as a valid test user with an email address that you can monitor.
      8. Subscribe test user to the test category.
      9. Create a new thread within the category as some other test user
      10. Debug code in MailingListMessageListener.java, as the followings
      When using protocol = imap, please see the below test result:

      Folder[] folders = defaultFolder.list(); //folders[6] [Follow up, INBOX, Misc, Priority, Trash, [Gmail]]
      ....
      Folder folder = folders[0]; // folder is Follow up

      In 81 line messages = folder.getMessages(); // messages is "".
      Due to the folder is not inbox, so the issue occured.

        Activity

        Hide
        Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

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

        IMAP mailing list configuration for Message Boards does not work, can not receive the email.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 26f55bc6464503acc0dc8534f7666f21e3b52503.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 090754c32bac4bcd8984ea1bbc5e59fec056a845.

        IMAP mailing list works properly in Message Boards.

        Show
        Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. IMAP mailing list configuration for Message Boards does not work, can not receive the email. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 26f55bc6464503acc0dc8534f7666f21e3b52503. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 090754c32bac4bcd8984ea1bbc5e59fec056a845. IMAP mailing list works properly in Message Boards.

          People

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

            Dates

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

              Development

                Structure Helper Panel