- Issue created by @alexpott
- π¬π§United Kingdom alexpott πͺπΊπ
I've filed this issue against 10.3.x because it occurs due to the 10.2 to 10.3 upgrade but it is also present in 11.x
- Merge request !7961Issue #3445950 Fix \Drupal\Core\Plugin\DefaultLazyPluginCollection::setInstanceConfiguration() β (Open) created by alexpott
- Status changed to Needs review
8 months ago 10:16am 8 May 2024 - πΊπΈUnited States tim.plunkett Philadelphia
I'm not able to run the tests-only job for some reason. But when I do locally, I get
Failed asserting that Double\ConfigurableInterface\P1 Object (...) is not an instance of interface "Drupal\Component\Plugin\ConfigurableInterface".
Which sounds like a Prophecy mixup, not an actual working assertion.
@alexpott am I overthinking it? The change looks good
- π¬π§United Kingdom catch
I think there are permissions issues on the test only job when the MR was opened by a core committer.
- π¬π§United Kingdom alexpott πͺπΊπ
@tim.plunkett thanks for the review - it's the expected failure because we're doing:
$configurable_plugin = $this->prophesize(ConfigurableInterface::class); $nonconfigurable_plugin = $this->prophesize(PluginInspectionInterface::class);
So these are Prophecy classes that implement the respective interface.
- Status changed to RTBC
8 months ago 4:26pm 9 May 2024 - πΊπΈUnited States tim.plunkett Philadelphia
@catch that would explain it!
@alexpott I would have thought the `->reveal()` calls would have helped, but fair enough
- Status changed to Needs work
8 months ago 9:02am 10 May 2024 - Status changed to RTBC
8 months ago 2:45pm 10 May 2024 - π¬π§United Kingdom alexpott πͺπΊπ
Nice catch @longeave given it was just a nit back to rtbc.
- Status changed to Fixed
8 months ago 3:37pm 10 May 2024 - π¬π§United Kingdom longwave UK
This is eligible for backport to 10.2.x under the bugfix policy but given it has only arisen in 10.3.x not sure it's worth it. Feel free to reopen for backport if this is incorrect.
Committed and pushed 926d069c2c to 11.x and 55463c9ef0 to 11.0.x and b7c0549a3c to 10.4.x and ef095f9bd2 to 10.3.x. Thanks!
-
longwave β
committed ef095f9b on 10.3.x
Issue #3445950 by alexpott, tim.plunkett: \Drupal\Core\Plugin\...
-
longwave β
committed ef095f9b on 10.3.x
-
longwave β
committed b7c0549a on 10.4.x
Issue #3445950 by alexpott, tim.plunkett: \Drupal\Core\Plugin\...
-
longwave β
committed b7c0549a on 10.4.x
-
longwave β
committed 55463c9e on 11.0.x
Issue #3445950 by alexpott, tim.plunkett: \Drupal\Core\Plugin\...
-
longwave β
committed 55463c9e on 11.0.x
-
longwave β
committed 926d069c on 11.x
Issue #3445950 by alexpott, tim.plunkett: \Drupal\Core\Plugin\...
-
longwave β
committed 926d069c on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.