Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M5
-
Component/s: Collaboration, Collaboration > Message Boards
-
Environment:Tomcat 7.0.25 + Mysql 5.5
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Story Points:3
-
Similar Issues:
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.

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.