Closed (fixed)
Project:
Mass Contact
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
26 Nov 2011 at 20:30 UTC
Updated:
16 Feb 2012 at 15:10 UTC
Jump to comment: Most recent file
I am trying to test the mass-contact form but I am unable to do so because I cannot figure out how to assign a user to a category
When I try I get the message "No users were in the selected category". There is only one user other than the administrator (me)
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | screen-capture.jpg | 173.5 KB | Slicric |
| #9 | sys-mass_con tach-header.png | 93.84 KB | tjtj |
| #9 | sys-mass_contact-body.png | 85.1 KB | tjtj |
| #9 | sys-mass_contact-settings.png | 103.68 KB | tjtj |
| #9 | sys-mass_contact.png | 40.19 KB | tjtj |
Comments
Comment #1
dRaz commented+1 same issue.
I have added all roles too.
Comment #2
oadaeh commentedCategories are currently based on user roles, so in order to assign a user to a category, follow these steps:
Keep in mind that if you only have yourself (based on email address) in the chosen category, the module will not send the message.
Comment #3
dRaz commentedStill nothing I'm afraid.
I still get the message:
"No users were in the selected category(ies), and therefore, the message was not sent."
I have created new category.
Assigned all existing roles to the category to receive.
Go to site/mass_content and write a test email.
Click send.
Any more help? Is this a bug?
Comment #4
tjtj commentedSame issue for me. I have a category that contains all authenticated users, and that is a role. I get the same message that there are no users in the category. And it does not even send a copy to the sender. I have lots of users too, and all are "authenticated users."
Comment #5
tjtj commentedComment #6
v.zhakov commentedI have same issue.
I create category "News" and add role "registered user" for this category.
Try to send message with /mass_contact.
I recieve message:
"No users were in the selected category(ies), and therefore, the message was not sent."
Comment #7
oadaeh commentedI am still not seeing this behavior. I even uninstalled and re-installed the module, forcing it to be reconfigured, and it still works as advertised.
I'm going to need to see someone's configuration settings. Please send me a screen shot of each of the these four administrative settings pages:
You may send the screen shots directly to me using my contact form, if you don't want to attach them to this issue.
Comment #8
oadaeh commentedMarked #1371254: Impossible to send mass mailing: no users in group as a duplicate of this issue. Changing the name of this issue to make it easier to locate.
Comment #9
tjtj commentedAny way to debug this? I attach the requested screen shots.
Comment #10
Slicric commentedI offer a Newsletter from my Website to my Clients and the Mass Email was working fine up to the 25 of November, and all of a sudden i'm getting "No users were in the selected category(ies), and therefore, the message was not sent." is there anyone that knows how to solve this PLEASE, i'm not a programmer nor a developer but i'm having a crisis here.
Carlton
Comment #11
oadaeh commentedI believe I have fixed this issue here: http://drupalcode.org/project/mass_contact.git/commit/22308b7
Please try the 7.x-1.x-dev version when it has a more current date than 2011-Nov-26, and let me know if it is working for you.
Comment #12
oadaeh commentedI went ahead and tagged a new version, because I want to commit another change that may create this issue again, and I don't want to leave people hanging again. Here it is 7.x-1.0-alpha4.
Comment #13
tjtj commentedThe new version works! Thanks a bunch.
Comment #14
infines commentedComment #15
fernly commentedStill having the same issue with version 7.x-1.0-alpha4.
Trying to send it to a category containing 2 users (admin not included).
Comment #16
oadaeh commentedlennartvv: would you please provide the same information tjtj provided in comment #9?
Comment #17
julia_g commentedI had the same issue. A bit of debugging led me to the following conclusion:
I had two roles in my category, and only the first one was used to create the recipient list. It only contained myself, so the recipients list was empty. When I removed this role from the category, everything worked as expected. If I add another user to the first role, and use both roles in the category, still only the first role is used.
I can't figure out why it's happening. The query in _mass_contact_create_recipient_list seems to be constructed correctly, running it on my database gives correct results, but the query result in the module code only has the users with the first role. Can there be some odd bug in Drupal database query API? I have no idea but maybe this will help.
Comment #18
oadaeh commentedI'm still not seeing this behavior.
Julia, would you mind attaching a few screen shots, like in comment #9? Maybe some combination of settings is causing this.
Also, I just tagged a new version, 7.x-1.0-alpha5. Maybe updating to that version will make your problem go away. If it's not already, be sure to install Chaos tool suite before you update Mass Contact.
Comment #19
julia_g commentedUpdate to alpha5 seems to have solved the issue, thanks.
Comment #20
oadaeh commentedAssuming this to finally be fixed.