-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.0.X EE
-
Fix Version/s: 7.0.0 M4
-
Component/s: Message Boards, ~ [Archived] Collaboration
-
Labels:None
-
Branch Version/s:6.0.x
-
Story Points:6
To reproduce
1. Add a category to the forum, configure it to be a mirror of a mailinglist
2. Quickly Send an empty message to the mail adress you configured for the category then send two messages that do have a body
MailingListMessageListener wont be able to create the MBMessage because an empty body is not allowed, it will throw an exception and the other two messages wont be processed
The problem lies in the processMessages method which looks like this :
protected void processMessages(
MailingListRequest mailingListRequest, Message[] messages)
throws Exception {
for (Message message : messages) {
try
finally
{ PermissionCheckerUtil.setThreadValues(null); } }
}
So if processing one message fails, the processMessages will exit and it wont continue processing the other messages