Create User action never matches Org type

Created on 17 August 2018, almost 6 years ago
Updated 25 April 2024, about 2 months ago

There's a rule "Create Linked Drupal User Account" which calls the function civicrm_entity_action_create_user, which is intended to create a new Drupal user and then link it to the appropriate Civi contact. It appears that if the contact is an Organization, it will never link it. Instead it will create a new Individual and link to that.

This appears to be caused by the call to CRM_Core_BAO_UFMatch::synchronizeUFMatch at civicrm_entity.module:3056. I'm guessing at some point this function started creating a new contact if it couldn't match an existing one in the system.

πŸ› Bug report
Status

Closed: won't fix

Version

2.1

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada martinhansen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024