When using content profile, the profile nodes don't exist when the 'insert' operation is called in hook_user(). We need to run this during as a submit handler off user_register instead.

This bug and patch depend on Jody Lynn's refactoring in #905848: Simpler LDAP Provisioning Using Core User Registration.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

John Franklin’s picture

Attached patch fixes the issue.

(Also fixes a TZ handing issue from #2233921: Make more user fields available when provisioning..)

John Franklin’s picture

Status: Active » Needs review

needs review

  • Commit 8861c47 on 6.x-2.x by John Franklin:
    Issue #2233959 by John Franklin: Provision in a submit handler, after...
John Franklin’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Status: Needs review » Fixed

Fixed in 6.x-2.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.