- Issue created by @phenaproxima
- @phenaproxima opened merge request.
- πΊπΈUnited States phenaproxima Massachusetts
Dead simple fix with a well-targeted test.
- πΊπΈUnited States phenaproxima Massachusetts
Discovered that this bug also exists for the block plugin manager. Let's fix that too.
- πΊπΈUnited States phenaproxima Massachusetts
Per @larowlan, restored missing dependencies to kernel tests which were (mistakenly) passing without them, obscured by this decoration bug.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
wim leers β made their first commit to this issueβs fork.
-
wim leers β
committed aab8d1be on 0.x authored by
phenaproxima β
Issue #3530575 by phenaproxima, larowlan: Experience Builder mis-...
-
wim leers β
committed aab8d1be on 0.x authored by
phenaproxima β
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
wim leers β credited larowlan β .
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
π€― How is this not a core bug?! Tagging for that, but β¦ obviously not waiting for that to get fixed.
Not marking to get a core bug report filed π
- πΊπΈUnited States phenaproxima Massachusetts
Why would this be a core bug?
XB is the thing that is decorating these plugin managers, and it targets them incorrectly. AFAICT, core isn't doing anything wrong here, apart from having more than one way to refer to these services, with the "canonical" way being the old names.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
It's a core bug because if everywhere you can refer to services by their FQCN (including in
*.services.yml
when injecting services) except when decorating, then that's a DX WTF.I'd then at minimum expect an example/test in
core/modules/system/tests/modules/autowire_test/autowire_test.services.yml
that shows that this does NOT work for decorators, and explains why.But really, big WTF is that this has worked fine for all this time, until this issue: when used in Recipes, it suddenly breaks!?! π€―
Test coverage like π Service decorates non-existant service when module not installed Needs work 's seems warranted.
P.S.: Seems like #3049525-5: Enable service autowiring by adding interface aliases to core service definitions β and some subsequent comments are also talking about this. But not much discussion about it :/