ember-cli / ember-cli/ember-cli-preprocess-registry

Removal of availablePlugins breaks addons

Đang mở
#121 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
1
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

A number of older addons break with `ember-cli-preprocess-registry` versions `4.0+` with the following error:

```
Cannot read properties of undefined (reading '...')
```

We've traced it down to the [removal](https://github.com/ember-cli/ember-cli-preprocess-registry/commit/22379e12919520a86101f0f8ef314b7de43e4352) of `availablePlugins` from `registry`.

We've seen this problem with the following plugins:
- [ember-basic-dropdown](https://github.com/cibernox/ember-basic-dropdown/issues/706)
- [ember-power-select](https://github.com/cibernox/ember-power-select)
- [ember-side-menu](https://github.com/tsubik/ember-side-menu)
- [and there seem to be more...](https://github.com/search?q=registry.availablePlugins+language%3AJavaScript&type=code&l=JavaScript)

Is this an intended breaking change?

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

Hướng nghiên cứu

Xem xét commit 22379e12919520a86101f0f8ef314b7de43e4352 và registry API hiện tại để hiểu vì sao availablePlugins bị xóa. Tái hiện lỗi thuộc tính không xác định với một trong các addon đã nêu, sau đó xác định và kiểm chứng hành vi tương thích dự kiến cho các plugin cũ hơn.

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

Đánh giá

Công nghệ
javascript
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/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.