[patch] infinite loop in Mail.send override
Bug #460177 reported by
Dave Brosius
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Nicolas Leroux | |||
1.1 |
Fix Committed
|
Undecided
|
Nicolas Leroux |
Bug Description
This overridden Mail.send is a self-recursive infinite loop, because of the varargs attachments parameter. Code was intended to call the next send method with a null replyTo
public static Future<Boolean> send(String from, String[] recipients, String subject, String body, Object... attachments) {
return send(from, recipients, subject, body, null, "text/plain", attachments);
}
patch fixes this
Changed in play: | |
status: | New → Fix Committed |
To post a comment you must log in.
There are a few other methods that were (as of play-1.0-r781) still going into an infinite loop due to a bad override.