ember-cli / ember-cli/ember-cli-preprocess-registry
Removal of availablePlugins breaks addons
- Langage dominant
- JavaScript
- Étoiles
- 1
- Forks
- 11
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Examinez le commit 22379e12919520a86101f0f8ef314b7de43e4352 et l’API actuelle du registre pour comprendre pourquoi availablePlugins a été supprimé. Reproduisez l’échec dû à une propriété indéfinie avec l’un des addons nommés, puis déterminez et vérifiez le comportement de compatibilité prévu pour les anciens plugins.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100