Skip to content

[BUG]: user name won't accept a hyphen #410

@jwstekelenburg

Description

@jwstekelenburg

What happened?

My first name is Jan-Willem. Cosmos won't accept the hyphen, so my username jan-willem is not accepted and throws an error "User Creation Error: Key: 'CreateRequestJSON.Nickname' Error:Field validation for 'Nickname' failed on the 'alphanum' tag"

What should have happened?

My first name is Jan-Willem. My user name is accepted as jan-willem

How to reproduce the bug?

  1. Go to 'Home / Users'
  2. Click on 'Create'
  3. Type "jan-willem" as Nickname
  4. See error

Image

Relevant log output

Other details

No response

System details

  • OS: Ubuntu 24.04
  • Browser Microsoft Edge
  • Version 0.17.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions