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

          [CRM-19276] The username cannot contain multiple spaces in a row.
          Jon K Goldberg added a comment -

          Hi Vincent,

          This is an excellent question! However, this is the issue tracker for CiviCRM, not the community support site - you should post it to http://civicrm.stackexchange.com. Additionally, civicrm_entity isn't part of core CiviCRM, so if this WERE a bug, the appropriate place to post it would be on the issues queue on drupal.org for civicrm_entity.

            People

            • Assignee:
              Unassigned
              Reporter:
              Vincent

              Dates

              • Created:
                Updated:
                Resolved: