Skip to content

New project creation incorrectly rejects valid names on Windows when workspace path contains spaces #478

@namannpatel

Description

@namannpatel

When creating a new project on Windows, the app sometimes shows the error “The project name should not contain space between them” even if the project name itself does not contain any spaces. This happens because the validation checks the full project path instead of only the entered project name. If the workspace or user profile path includes spaces, the validator flags the project as invalid incorrectly.

Steps to Reproduce:

Use eSim on Windows.
Open the app from a path that contains spaces, such as a user directory or workspace folder.
Create a new project with a name that has no spaces.
Confirm project creation.

Actual Result:
The app rejects the project and shows a space-related validation error.

Expected Result:
The project should be created successfully as long as the project name itself contains no spaces.

Impact:
This blocks valid project creation for Windows users whose install path, workspace path, or user profile path contains spaces.

Suggested Fix:
Validate only the project name, not the full filesystem path, when checking for spaces.

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