[Bug][Config-UI] React Error - Cannot read properties of undefined (reading 'name') when creating a new connection
- Vorherrschende Sprache
- Go
- Sterne
- 3.1k
- Forks
- 808
- Ø Merge
- 1 T. 18 Std.
- Gemergte PRs (30 T.)
- 50
Beschreibung
### 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)
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100