RFE: metadata/metarefresh error handling improvements
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Parti dal percorso di importazione di Metarefresh e dal punto di ingresso della gestione degli errori di MetaLoader descritto nell’issue. Traccia il modo in cui un mdui:Logo non valido influisce su un’entità e il modo in cui l’eccezione intercettata diventa il messaggio generico sui metadati memorizzati nella cache. Il lavoro è completato quando un’entità malformata non annulla l’importazione del feed e l’eccezione sottostante viene conservata nell’errore segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently the eduGAIN feed contains an SP with empty <mdui:Logo>. When running Metarefresh, this makes mdui\Logo throw an exception, saying Missing url value for Logo. Now that's okay, although it doesn't tell me anything about which entity it is.
But 1) the exception propagates all the way upwards, cancelling the import of the entire feed – meaning that just about any SP anywhere can accidentally break my whole eduGAIN access. (Somehow even eduGAIN didn't catch this error.) Maybe it would be possible to skip just that one entity – or even load it without any logos, as they're probably not crucial to the operation.
And 2) the exception is eventually swallowed and thrown away in MetaLoader, which instead shows a very generic "XML parser error when parsing https://fedi.litnet.lt/metadata/edugain.xml - attempting to re-use cached metadata". I spent quite some time trying to figure out that one, as the file is perfectly valid XML. I think it would be good to show the actual exception that was caught.
- Lingua principale
- PHP
- Stelle
- 9
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di simplesamlphp/simplesamlphp-module-metarefresh
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
simplesamlphp/simplesamlphp-module-metarefresh#51 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 42/100
simplesamlphp/simplesamlphp-module-metarefresh#47 · 1 commento ·
Tutte le issue di simplesamlphp/simplesamlphp-module-metarefresh
Issue simili
-
[Chore] Keep one viget-block-generator skill and replicate it, instead of four tracked copies Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
hector-jewell/food-delivery-system-for-restaurant-using-php#1311 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Sylius/SyliusGridBundle#501 ·