Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
user.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Jun 2010 at 19:27 UTC
Updated:
17 Oct 2021 at 10:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Stevel commentedPatch added
Comment #3
Stevel commentedReroll for latest HEAD
Comment #4
Stevel commentedrediff from drupal root directory
Comment #5
jelle_sthis patch solves the error described in the issue
Comment #6
bfroehle commentedIn the mean time, you can work around this by making sure
$edit['mail']is set to anything, even an empty string.Comment #7
dawehnerComment #8
dries commentedThis patch does not apply against D8. Will need some work.
Comment #9
bfroehle commentedRerolled for D8. Set to RTBC if the tests pass.
Comment #10
bfroehle commentedJust marked #1126126: trim() causes error with empty mailadresses in user.module as a duplicate which suggested the same patch.
Comment #11
dries commentedThanks for the re-roll. Committed to 8.x.
I'll let @webchick commit this fix to 7.x. Moving version.
Comment #12
webchickCommitted to 7.x to get 8.x and 7.x in sync.
However. Tests?
Comment #13
pillarsdotnet commentedComment #14
dawehnerIt seems to be not required at all anymore for d8? User is not a proper object without the $edit parameter etc.
Comment #28
quietone commentedI think that #14 is right and that this is no longer relevant for Drupal 8/9. So, changing to Drupal 7.