Skip to content

Invalid regex like * breaking the page #2173

@shivani170

Description

@shivani170

Invalid regex like * breaking the page when clicking the select material button in Build & Deploy.

https://github.com/devtron-labs/dashboard/compare/invalid_regex?expand=1

Checklist:

  • I've searched in the docs and FAQ for my answer
  • I've included steps to reproduce the bug.

Describe the bug

To Reproduce

  1. In-app Configuration > Workflow Editor. Build the Create CI Pipeline. Select Branch regex source type.
  2. Add value * and save the pipeline
  3. Go to Build & Deploy Click on the Select material button. The page will break

Expected behavior

Validation error should be displayed in the initial phase

Current behavior
Invalid regex like * breaking the page when clicking the select material button in Build & Deploy.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions