Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-12010

Drupal 7 create user class doesn't support multiple creates

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.8
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      If you try to call CRM_Utils_System_Drupal::createUser more than once in one process the drupal caching causes it to bypass validation & for the password to be incorrect as a result.

      Multiple creates aren't available in core yet but it makes sense for the underlying function to support it as it is certainly desirable for creating CMS user to be added as an action in future (for now I am doing via rules / civicrm_entity module)

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: