? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
7 Apr 2016

Summary of Changes

In an error condition JMail::Send() can return either a boolean false (if the site's mail function is turned off in the global config) or the result of JError::raiseNotice() (which is a JException object). This updates core to explicitly check for a boolean true return value (which is the only return on a successful send) instead of implicit checks for a boolean false or Exception object and also corrects an incorrect method reference (Exception does not have a getError() method).

Testing Instructions

Mainly review, otherwise validate that mail correctly sends in the changed methods AND error conditions are handled correctly.

avatar mbabker mbabker - open - 7 Apr 2016
avatar mbabker mbabker - change - 7 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 13 Apr 2016
Category Libraries
avatar joomla-cms-bot joomla-cms-bot - change - 15 Aug 2016
Category Libraries Administration Components Front End Installation Plugins
avatar andrepereiradasilva andrepereiradasilva - test_item - 15 Aug 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 15 Aug 2016

I have tested this item successfully on 8828440

on code review. thanks


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9778.

avatar yvesh yvesh - test_item - 15 Aug 2016 - Tested successfully
avatar yvesh
yvesh - comment - 15 Aug 2016

I have tested this item successfully on 8828440

Code review.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9778.

avatar mbabker
mbabker - comment - 12 Sep 2016

This has fallen out of sync and I'm not interested in pursuing this anymore.

avatar mbabker mbabker - change - 12 Sep 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-09-12 20:50:08
Closed_By mbabker
avatar mbabker mbabker - close - 12 Sep 2016

Add a Comment

Login with GitHub to post a comment