I have a rule set up so that on account creation, the account is given a role, the role is given an expiration time (via the Role Expire module), and one of the profile fields is given a certain value. Granting the new user a role and an expire time works perfectly, but setting the profile field isn't working. In case it matters, the profile field is a drop-down.
I'm not sure if it matters, but when I click "modify profile fields" under "DO", it brings up the list of fields. I click the checkbox next to the field I want to change, set it appropriately, and click "save" but when I go back to view the rule, the checkbox is un-checked. What am I doing wrong here?
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | print.jpg | 14.55 KB | danimatielo |
Comments
Comment #1
fagoWhich "modify profile fields" action are you using? Rules doesn't provide this action.
Comment #2
a.bond commentedI'm not sure, it might be provided by Views Bulk Operations. How would I check if that's where the rule comes from?
Comment #3
fagoIndeed. There is no way to check that via the UI, but the module lists that at the project page.
Moving to the vbo queue.
Comment #4
infojunkieFixed in the latest dev. Please check (12 hours from now) and let me know.
Comment #5
infojunkieComment #6
a.bond commentedinfojunkie, when you say "latest dev", do you mean the latest 6.x-1.x or the latest 6.x-3.x? Or both?
Comment #7
infojunkieI meant 6.x-1.x-dev.
Comment #8
a.bond commentedThe checkbox stays checked now, but the rule still isn't executing.
Comment #9
infojunkieCan you plz verify that the same action works fine when invoked from a regular VBO (e.g. admin/user/user2) ?
Comment #10
a.bond commentedAbsolutely, I use the "modify profile fields" action daily with no issues. It just doesn't work when I try to have it executed by a rule.
Comment #11
infojunkieOK thanks for the confirmation. I'll check it out in this setting.
Comment #12
infojunkieI am unable to reproduce this. Here's what I did:
* Create profile field of type List with 3 values "One", "Two", "Three"
* Create a new rule with event = User account has been created
* Select action = Modify profile fields, with User = "registered user"
* Checked list field and selected value "One"
* Created new user from admin/user/user/create
* Looked at new user account page: List = "One"
What is different in your case? Can you reproduce this scenario above?
Comment #13
a.bond commentedComment #14
danimatielo commentedHello, I am also having the problem with Modify profile fields and rules: under DO, I select the checkbox and an option, but when I edit the Rule again, the configuration has been lost. I am using version 6.x-3.x-dev and the profile fields are checkboxes. I attached a printscreen of the problem.
Comment #15
infojunkieComment #16
a.bond commentedSo, what's going on with this? It's really frustrating. Has there been any movement in the six weeks since this issue was made "active" again?
Comment #17
infojunkieRe #16: Sorry to hear about your frustration. Since you're a programmer, you might be interested to trace the problem and submit a patch. That's what I do when I encounter problems in modules that I use.
Comment #18
infojunkieCan't reproduce this with latest dev. So marking as fixed.