[BUG] Running publisher after revision deletion remove whole API
- Lingua principale
- C#
- Stelle
- 448
- Fork
- 247
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Release version
v6.0.1.3
### Describe the bug
When I commit changes to an API with multiple revisions and remove one of the revisions, the publisher removes the entire API.
### Expected behavior
I expect that only the revision removed in the commit will be deleted from the APIM instance.
### Actual behavior
In reality, the entire API is removed from the APIM instance.
### Reproduction Steps
I have an API with three revisions:
```
apis/
├── azerty-service/
├── azerty-service;rev=2/
└── azerty-service;rev=3/
```
I delete the folder apis/azerty-service;rev=2, commit the changes, and run the publisher for these updates.
As a result, the entire API azerty-service, including all its revisions, is removed from the APIM instance.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo l'aggiornamento di publisher con un'API contenente le tre revisioni elencate, quindi rimuovi solo la cartella apis/azerty-service;rev=2 ed esegui publisher. L'operazione è completata quando l'istanza APIM conserva azerty-service e azerty-service;rev=3, eliminando solo la revisione 2.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, csharp
- Ambito
- api, devops
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100