Uploaded image for project: 'HipChat'
  1. HipChat
  2. HCPUB-10994

Embedded Crowd fails to synchronize single character domain user

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • None
    • None
    • None
    • Severity 2 - Major

    Description

      Summary

      Embedded Crowd fails to synchronize single character domain user.

      Environment

      Hipchat Server 2.2.9

      Steps to Reproduce

      1. Create a user in any Crowd directory where the email follows the format below:
        username@a.b.c.company.com
        
      2. Synchronize the Crowd directory with Hipchat Server

      Expected Results

      User is synchronized.

      Actual Results

      User is not synchronized. The following error message is thrown on atlassian-crowd.log:

      hipchat-httpclient-callbacks:thread-5 ERROR [hipchat.sync.crowd.CrowdSyncManager] Failed to create user: HipChatUser{uid=null, external_id={hcs}testuser, email=username@b.c.d.company.jp, name=Test User, mention_name=null, title=null, timezone=null, is_deleted=false, group_admin=false, roles=[]}
      hipchat-httpclient-callbacks:thread-5 ERROR [hipchat.sync.crowd.CrowdSyncManager] Got HTTP error 400 (Bad Request), with body
      {
        "error": {
          "code": 400,
          "message": "Invalid email address",
          "type": "Bad Request"
        }
      }
      

      Notes

      If the email format is slightly different, the user synchronizes successfully:

      username@a.bbb.ccc.company.com
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              braymundo Bruno Raymundo
              Archiver:
              mandreacchio Michael Andreacchio

              Dates

                Created:
                Updated:
                Resolved:
                Archived: