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.

CommentFileSizeAuthor
#1 usernode_creation_5.patch909 bytesfago
usernode_0.patch811 bytesdkruglyak

Comments

fago’s picture

Status: Needs review » Fixed
StatusFileSize
new909 bytes

thanks. 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.

dkruglyak’s picture

This patch looks just as good to me.

Anonymous’s picture

Status: Fixed » Closed (fixed)