Azure / Azure/Azure-DataFactory

Invalid string in a JSON file breaks the ADF UI

Aperta
#533 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PowerShell
Stelle
529
Fork
623
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Bug Description
When resolving a merge conflict in the company's repository, an accidentally invalid string was inserted and pushed to the main branch. Then into the ADF UI, all the Global Parameters disappear. When trying to run any of our pipelines, a validation error occurs, that global parameters can not be found.

## To Reproduce
Create a pipeline, which receives as an input Global Parameter. Then create the Global Parameter and commit it into the repo. Next into the JSON file, where Global Parameter is located insert the following string:

![image](https://user-images.githubusercontent.com/58025467/217829973-7ceb5bd5-0962-4e8d-9369-07b450d8bfc0.png)

and commit it to the main branch.
As a result in the UI all Global Parameters disappear:

![image (12)](https://user-images.githubusercontent.com/58025467/217830752-fbb43c1b-eedb-4803-9b9d-8620471aade2.png)

## Expected behavior
An error could be displayed in the UI, that something went wrong with the Global Parameters.
Or logic that cleans invalid JSON strings.
Overall anything than the empty UI page will be better.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riproduci il problema nell’ADF UI usando la stringa non valida nel Global Parameters JSON descritto nel report, quindi traccia il modo in cui quel JSON viene caricato quando i parametri scompaiono. Il lavoro è completo quando il contenuto non valido produce un errore visibile o evita la pagina Global Parameters vuota e le pipeline non falliscono più perché mancano i parametri.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure
Ambito
cloud, frontend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.