HTBox / allReady

This repo contains the code for allReady, an open-source solution focused on increasing awareness, efficiency and impact of preparedness campaigns as they are delivered by humanitarian and disaster response organizations in local communities.
http://www.htbox.org/projects/allready
MIT License
891 stars 627 forks source link

Virtual - Server Error in '/' Application - A person cannot belong to more than one organization. - happens when Register New Organization with 'test' in Organization Name and all the other fields empty #2336

Open ChrisStar opened 6 years ago

ChrisStar commented 6 years ago
  1. Login at https://crisischeckin-d.azurewebsites.net/Account/Login?ReturnUrl=%2f
  2. Go to: https://crisischeckin-d.azurewebsites.net/Organization/ProcessNewOrganization
  3. Just fill in test in the field below Organization Name and leave all the other fields empty
  4. Scroll down and click the Register-button

Result: url: https://crisischeckin-d.azurewebsites.net/Organization/ProcessNewOrganization Server Error in '/' Application. Exception Details: System.InvalidOperationException: A person cannot belong to more than one organization.

Server Error in ':' Application.txt

skarmavbild 2018-10-04 kl 21 11 07

Expected Result: A text in red or a popup alerting in a much nicer way that: A person cannot belong to more than one organization.

Simon-Carr commented 6 years ago

This is crisischeckin project, not allReady?