I am not sure if this issue is related to the one about fieldgroups (http://drupal.org/node/169715) or might be broader.
On my site usernodes failed to create once the module installed. I tracked down the cause to 'usernode_check_more' var not being set on install (in usernode_enable). If install fails and the variable not set, futher calls to usernode_cron fail to check for new usernodes to be re-created. I suspect the install fails for reasons similar to reported here: http://drupal.org/node/169723
I came up with a simple fix. Instead of actually checking usernodes on install in hook_enable, merely set the flag. After that cron rebuild works correctly. Please try and test the patch, BUT do not forget to disable/enable the module to exercise it.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | usernode_creation_5.patch | 909 bytes | fago |
| usernode_0.patch | 811 bytes | dkruglyak |
Comments
Comment #1
fagothanks. I've committed a slight modification of your patch - I've attached the patch I committed. I've changed it that way usernodes are created when the module is activated, but the nodes are checked again during the first cron run.
Please try the dev-snapshot and report if works for you too.
Comment #2
dkruglyak commentedThis patch looks just as good to me.
Comment #3
(not verified) commented