Hello
There is a bug that happened in 2.2 and is still present in 2.3
When an admin tries to edit another user groups or interests, the information is not updated.
Kind of in a rush right now, just stopped by to let you know.
Cheers
Hello
There is a bug that happened in 2.2 and is still present in 2.3
When an admin tries to edit another user groups or interests, the information is not updated.
Kind of in a rush right now, just stopped by to let you know.
Cheers
Comments
Comment #1
jm.federico commentedRight
Some more info, this is the deal:
If I can edit other user mailchimp settings, once I press "save settings" it actually updates my own settings and not the settings for the user I'm editing.
The problem is in mailchimp_auth_newsletter_form() that overrides the value set for $form['uid'] in mailchimp_subscribe_auth_form().
And the guilty guy is the array_merge() in line 234 in mailchimp.module
Cheers
Comment #2
jm.federico commentedA solution would be to move
in mailchimp_subscribe_auth_form() to after the call to mailchimp_auth_newsletter_form()
Cheers
Comment #3
levelos commentedThanks for catching that jm.federico. I took a slightly different approach, and updated the status messages to ensure the right accounts are being updated, http://drupal.org/cvs?commit=470428. I really need to work on some unit tests, regression testing is killing me!