Skip to content

No error message when creating a workspace with a conflicting name #2842

Closed

Description

@nadzeyav

Problem

A user was not given a proper error message when attempting to create a workspace with an existing name.

Definition of Done

When attempting to make a conflicting workspace name, there should be an error that says this name cannot be used and why.

coder version
Coder v0.7.6-devel+4f1e9dae

Steps:

  1. Login to coder portal
  2. choose a template and click Create Workspace
  3. Create a workspace with name: WorkspaceName1
  4. Again choose a template and click Create Workspace
  5. Enter workspace name as WorkspaceName1

Expected: Error message about workspace name already exists
Actual: Nothing happens even dialogue is not closed

no-validation.mp4

Activity

  1. changed the title [-]UI: no error message on workspace creation with duplicated name[/-] [+]No error message when creating a workspace with a conflicting name[/+] on Jul 18, 2022
  2. misskniss commented on Jul 26, 2022

    @misskniss

    FYI: @bpmct confirmed there is a backend message the the workspace already exists
    #3094 is related and may close this one.

  3. AbhineetJain commented on Aug 1, 2022

    @AbhineetJain
    Contributor

    We do not seem to be handling any errors on the create workspace page. #3343 intends to solve that. That should fix and close this issue.

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

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions