simplesamlphp / simplesamlphp/simplesamlphp-module-aggregator2
Fix local (non-http) metadata-locations
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- PHP
- Sterne
- 5
- Forks
- 6
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
- SimpleSAML\Test\Module\aggregator\Controller\AggregatorTest::testGetWithId
Symfony\Component\HttpClient\Exception\InvalidArgumentException: Invalid URL: scheme is missing in "tests/metadata/example.xml". Did you forget to add "http(s)://"?
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/vendor/symfony/http-client/HttpClientTrait.php:582
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/vendor/symfony/http-client/HttpClientTrait.php:179
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/vendor/symfony/http-client/CurlHttpClient.php:91
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/vendor/simplesamlphp/simplesamlphp/src/SimpleSAML/Utils/HTTP.php:554
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/EntitySource.php:150
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/EntitySource.php:228
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/EntitySource.php:263
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/Aggregator.php:514
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/Aggregator.php:693
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/Aggregator.php:727
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/src/Controller/Aggregator.php:98
/home/runner/work/simplesamlphp-module-aggregator2/simplesamlphp-module-aggregator2/tests/src/Controller/AggregatorTest.php:125
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit tests/src/Controller/AggregatorTest.php und reproduziere testGetWithId. Verfolge dann den lokalen Metadatenpfad durch src/EntitySource.php, wie im Fehler gezeigt. Die Änderung ist abgeschlossen, wenn tests/metadata/example.xml als lokaler Metadatenort akzeptiert wird, ohne dass Symfony ein fehlendes URL-Schema meldet, und der Test erfolgreich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- php, symfony
- Bereich
- backend, testing
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 72/100