simplesamlphp / simplesamlphp/simplesamlphp-module-aggregator2

Fix local (non-http) metadata-locations

Đang mở
#35 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
PHP
Star
5
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

  1. 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với tests/src/Controller/AggregatorTest.php và tái hiện testGetWithId, sau đó lần theo đường dẫn metadata cục bộ qua src/EntitySource.php như được thể hiện trong lỗi. Thay đổi được hoàn tất khi tests/metadata/example.xml được chấp nhận là vị trí metadata cục bộ mà Symfony không báo thiếu lược đồ URL và bài kiểm thử chạy thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
php, symfony
Lĩnh vực
backend, testing
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
72/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.