Skip to content

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

@ChrisStar

Description

@ChrisStar
  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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions