Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2233959-provision-submit-handler.patch | 4.37 KB | John Franklin |
Comments
Comment #1
John Franklin CreditAttribution: John Franklin commentedAttached patch fixes the issue.
(Also fixes a TZ handing issue from #2233921: Make more user fields available when provisioning..)
Comment #2
John Franklin CreditAttribution: John Franklin commentedneeds review
Comment #4
John Franklin CreditAttribution: John Franklin commentedFixed in 6.x-2.x