bug: repository fails sync when it has a / character in the name attribute #4120
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
type/bug
Something isn't working as expected
type/newcomers
Good for newcomers
Milestone
Component
API Server / GraphQL, Git Integration
Infrahub version
0.16.0.dev0
Current Behavior
When you create a new repository and provide a name with a / character, the syncing of the repository will fail with error message : Unexpected path for a worktree.
Expected Behavior
If / is an invalid character for a CoreRepository name, then we should prevent the user from creating a CoreRepository with a name that contains a / character.
Steps to Reproduce
Additional Information
No response
The text was updated successfully, but these errors were encountered: