[Bug][Config-UI] React Error - Cannot read properties of undefined (reading 'name') when creating a new connection
- Lingua principale
- Go
- Stelle
- 3.1k
- Fork
- 808
- Merge medio
- 1g 18h
- PR unite (30g)
- 50
Descrizione
### 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)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100