[Question] If new versionset is being added, I notice the first deployment fails. The second one normally succeeds.
- Vorherrschende Sprache
- C#
- Sterne
- 448
- Forks
- 247
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Release version
5.1.4
### Question Details
Throws this error: failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"path","message":"Cannot create API '******-v2' with the same Path '*****/api' as API '****' unless it's a part of the same version set"}]}}'.
### Expected behavior
For the deploy to succeed on the first iteration.
### Actual behavior
Fails for the first deploy. Succeeds on the second.
### Reproduction Steps
Create a new version set for an api.
Beitragsleitfaden
Rechercherichtung
Beginne damit, die Bereitstellung nach dem Erstellen eines neuen API-Versionssatzes zu reproduzieren, wobei der gemeldete Azure API Management-Validierungsfehler als Referenz dient. Verfolge die Behandlung der Bereitstellung und des Versionssatzes im Repository, um festzustellen, warum die erste Iteration einen kollidierenden Pfad verwendet. Als erledigt gilt die Aufgabe, wenn ein neu erstellter Versionssatz beim ersten Versuch erfolgreich bereitgestellt wird und die bestehende Reproduktion durch einen geeigneten Test abgedeckt ist, sofern ein solcher verfügbar ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, csharp
- Bereich
- api, devops
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 32/100