- Issue created by @mcdruid
- π¬π§United Kingdom mcdruid π¬π§πͺπΊ
In general we'd use
expectExceptionin a test, but in this case we want to do some more checks after the exception is thrown.. so we have atry/catchinstead.I am in two minds about having this very specific assertion about the
TypeError:$this->assertStringContainsString('Cannot assign Drupal\Component\PhpStorage\FileStorage to property Drupal\Core\Config\StorageComparer::$targetCacheStorage', $e->getMessage());That feels a bit like it might break in future, and we wouldn't necessarily care so long as the
TypeErroris still thrown.I'll leave it in for now.
Tests are passing on the MR.
- πΊπΈUnited States benjifisher Boston area
mcdruid β credited benjifisher β .
- πΊπΈUnited States greggles Denver, Colorado, USA
mcdruid β credited greggles β .
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
mcdruid β credited larowlan β .
- π¬π§United Kingdom mcdruid π¬π§πͺπΊ
Adding credit from the private security issue.
- First commit to issue fork.
- πΊπΈUnited States smustgrave
Going on a limb
Not 100% the ticket the fix was in but trying to go off the security release note.
Applied a super small change to move it from config to file group.
I believe the rest is covering the security concern, if I'm wrong I apologize now
- Status changed to Needs review
7 months ago 2:46pm 1 May 2025 - π¬π§United Kingdom mcdruid π¬π§πͺπΊ
I think this should be back at NR.
There is a linting error / warning in the MR but I don't understand what it's saying sufficiently to know whether it's related to this change - it doesn't appear to be at a glance.
- π¬π§United Kingdom mcdruid π¬π§πͺπΊ
Great, thanks for the nudge in the right direction.
-
longwave β
committed 56f266dd on 11.x
Issue #3508196 by mcdruid, smustgrave, longwave, benjifisher, greggles,...
-
longwave β
committed 56f266dd on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.