[Bug][Config-UI] React Error - Cannot read properties of undefined (reading 'name') when creating a new connection
- Dominant language
- Go
- Stars
- 3.1k
- Forks
- 808
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 49
Description
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
- **Environment:** Apache DevLake v1.0.3-beta13
- **Component:** Config UI
- **Symptom:** Immediate React error / UI crash upon clicking "Create Connection".
- **Scope / Affected Plugins:** Isolated to Azure DevOps Go, Bamboo, Bitbucket Server, Jenkins, Jira, and ZenTao.
- **Error:**
### What do you expect to happen
Clicking "Create New Connection" should open the connection creation workflow and allow users to configure and save the connection.
### How to reproduce
1. Deploy Apache DevLake v1.0.3-beta13.
2. Open the Config UI.
3. Navigate to Connections.
4. Select one of the following connection type: .zure DevOps Go, Bamboo, Bitbucket Server, Jenkins, Jira, or ZenTao
5. Click "Create New Connection".
6. Observe that the UI immediately throws a React error.
### Anything else
_No response_
### Version
v1.0.3-beta13
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in the Config UI connection-creation workflow and reproduce the crash with Azure DevOps Go, Bamboo, Bitbucket Server, Jenkins, Jira, or ZenTao connections on v1.0.3-beta13. Trace the undefined value associated with the connection type's name, then verify that Create New Connection opens the workflow and allows configuration and saving without a React error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100