Skip to content

Creating a user or group with a duplicate name right after typing closes the dialog and loses the input #3679

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

Creating a user or group with a duplicate name right after typing closes the dialog and loses the input. Cause: CreateGroupModal.vue:60-80 and CreateUserModal.vue:112-133 keep the old valid state during the async check; onConfirm catches the error and resolves (:99, :180).

Reproduction Steps

  1. New group: type a unique name and wait.
  2. Replace it with an existing name and press Enter immediately.

Expected Outcome

Submission waits for the check and shows "already exists".

Actual Outcome

POST 409, "Failed to create group", and the dialog closes with all input lost.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions