fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

Issue creating an entity when there is more than one tenant and I don't select a tenant

Open mooreds opened this issue 4 months ago • 1 comments

Issue creating an entity when there is more than one tenant and I don't select a tenant

Description

When I don't put a tenant in the entity creation form in the admin UI, I get an error message. See repro steps for exact message.

Observed versions

1.49.2 (saw on sandbox)

Affects versions

Steps to reproduce

Steps to reproduce the behavior:

  1. Create a second tenant
  2. Create an entity type with permissions (I had 4 if it matters, non default). I also created a second entity type.
  3. Create an entity. On that form, select the entity type but not the tenant
  4. Hit save to try to save the entity.

See error message:

 FusionAuth is unable to determine which tenant to use for this request. This error is unexpected. Please review the troubleshooting guide found in the documentation for assistance and the available support channels. 

Expected behavior

The tenant field selection should be required and the message should be displayed there, rather than in a scary call out box.

Screenshots

Screenshot 2024-04-16 at 9 21 17 AM

Platform

Sandbox

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

mooreds avatar Apr 16 '24 15:04 mooreds