Closed (fixed)
Project:
Multiple Email Addresses
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
3 Aug 2011 at 14:30 UTC
Updated:
19 Jun 2016 at 16:04 UTC
Jump to comment: Most recent
Comments
Comment #1
danepowell commentedYeah, either confirm_code needs to have a default value, or it needs to be able to be NULL, or that query needs to specify a value. I think it should probably just be allowed to be NULL.
Comment #2
danepowell commentedActually this is a major issue, since it breaks automated tests for any module that depends on multiple_email.
Comment #3
bledbetter commentedI get a similar error on installation:
Drupal 7.28, Postgresql 9.2.2. Removing the "GROUP BY" clause on line 27 seems to fix this particular problem; not sure what the implications are (also not sure how you would get duplicate data from the default users table).
Comment #5
drummI removed the
GROUP BYclause. Sincemailshould be unique, it isn't needed. If it weren't unique, this will select an effectively random user to get the email, which would be bad too.