Skip to content

[Bug] Workspace name can't contain uppercase #361

@noraj

Description

@noraj

Description

An alert tells me Error: Workspace name can not contain white spaces or start with uppercase. when I try to name the workspace testWorkspace but testWorkspace doesn't start with an uppercase and contains no white-space.

This may due to a bad regex matching white-space at any position instead of checking the first char only.

Issue Type

  • Bug Report

Faraday version

Faraday v3.7.0

Component Name

I don't know.

Steps to reproduce

  • Create a new workspace
  • Name it testWorkspace
  • You can't save it

Expected results

I could name a workspace testWorkspace.

Debugging tracebacks (current results)

It is more a bad implementation than a bug so there are not debug logs.

Screenshots

image

Environment information

Configuration files

No needed. I changed nothing pure default.

OS

Provide information on your operating system. Example:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.10
DISTRIB_CODENAME=yakkety
DISTRIB_DESCRIPTION="Ubuntu 16.10"

🤣 /etc/lsb-release? The standard file is /etc/os-release. #362

cat /etc/os-release 
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions