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

The username cannot contain multiple spaces in a row.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.6.18
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      We tried to use civicrm entity module with rules to create drupal user on civicrm contact creation. In civicrm_entity.module file, the display name is used in the name field of drupal user creation which fails if the user enters last name as "Test - Test" with two spaces it shows this error message after creating the membership - "The username cannot contain multiple spaces in a row". This doesn't happen if the last name contain only one space like "T Test". Please advice how to handle this issue, thanks. Below is an attached file for the error message.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vincent92 Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: