Using Use reporter's email domain in organization field is case sensitive

Description

The Use reporter's e-mail domain option to edit the organization is case sensitive, and the behavior is not consistent when the customer's domain changes.

To reproduce:

  • Manually created Org: "Fake Org"

  • Manually created customer in "Fake Org" with email: "tim@fake.com"

  • Created request from new customer: "TIM2@Fake.com"

  • A4J created new Org: "Fake"

  • Created request from new customer: "TIM3@FAKE.COM"

  • A4J created new Org: "FAKE.COM" didn't expect that, but let's try more

  • Created request from new customer: "tim4@fake.com"

  • A4J added customer to "Fake Org" (matching on existing user)

  • Created request from new customer: "TIM5@FaKe.com"

  • A4J added customer to "Fake" (matching on domain?)

  • Created request from new customer: "Tim6@Fake.Com"

  • A4J added customer to "FAKE.COM" (not sure what this matched on, but I guess the .Com made it fail the same logic the previous case passed).

Environment

None

Assignee

Unassigned

Reporter

Scott Harwood

Labels

None

Links

None

Priority

Medium
Configure