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.
If someone enables creation of contacts on user creation or uses the sync manager by hand, relate() first checks for a contact. When no contact is found one can be created, this contact receives as an owner the user account itself.
This should not be the case, rather the current user should be the owner and only the relation should interrelate contact and user.
This is also an easy pitfall since developers can assume that the uid they are seeing is the actual relationship when it isn't.
Comment | File | Size | Author |
---|---|---|---|
#6 | 3061993-6-fix-owner.patch | 1.06 KB | grahl |
Comments
Comment #2
grahlComment #3
grahlComment #5
grahlFixed the inteface
Comment #6
grahlComment #8
grahlComment #10
grahlComment #11
grahl