?
Referenced as Pull Request for: # 9885
avatar Denitz
Denitz
14 Jan 2016

Testing instructions:

  1. Enter wrong email settings in global config
  2. Register a user in frontend assuming that user activation is required.
  3. See COM_USERS_REGISTRATION_SEND_MAIL_FAILED message
  4. Load /administrator/index.php?option=com_messages - no messages.
  5. Check #__messages table - see empty user_id_from and user_id_to data.

Issue origin:

UsersModelRegistration loads users to send messages to via

->select($db->quoteName(array('name', 'email', 'sendEmail', 'id'))) 
...
$sendEmail = $db->loadColumn();

Next they are iterated via

foreach ($sendEmail as $userid)

Hence email address to stored and converted to 0

Fix:

Change
->select($db->quoteName(array('name', 'email', 'sendEmail', 'id')))
to
->select($db->quoteName('id'))

avatar Denitz Denitz - open - 14 Jan 2016
avatar brianteeman brianteeman - change - 16 Jan 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 13 Apr 2016
Category Language & Strings Libraries
avatar brianteeman brianteeman - change - 13 Apr 2016
Status New Information Required
avatar brianteeman
brianteeman - comment - 13 Apr 2016

Can you please check this in latest staging as there have been a lot of changes to mail since this report.


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

avatar brianteeman brianteeman - change - 13 Apr 2016
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2016-04-13 08:20:40
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 13 Apr 2016

Closed as we have a PR #9885


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

avatar brianteeman brianteeman - close - 13 Apr 2016

Add a Comment

Login with GitHub to post a comment