- Issue created by @berdir
- Merge request !10796Resolve #3497325: Always clear memory cache with tag β (Closed) created by berdir
- π¨πSwitzerland berdir Switzerland
As expected, without the fix, the MR is failing on:
Drupal\Tests\text\Functional\TextFieldTest::testTextfieldWidgetsFormatted RuntimeException: Adding non-existent permissions to a role is not allowed. The incorrect permissions are "use text format sb2b9w7i".
That's because the test still works with the statically cached role config entity.
Pushed the fix now. I also found an existing test method that we can extend with more explicit test coverage.
Technically, we wouldn't need to keep the other changes that cause the existing test to fail in here. But I am trying to split up π Prevent saving config entities when configuration overrides are applied Needs work into manageable chunks because getting that issue committed is very complicated and these fixes immediately help to avoid translations bleeding into the default language config entity.
- π¬π§United Kingdom catch
Adding #3063687: ConfigFactory static cache is not updated when cache tags are invalidated β as a related issue not because it's actually related, they should be completely independent, but the title is similar enough that that it would be easy to find one issue when looking for the other one.
- π¬π§United Kingdom catch
Committed/pushed to 11.x, thanks!
This doesn't cherry-pick cleanly to 10.5.x so leaving fixed in 11.x.
- Status changed to Fixed
4 months ago 10:14am 7 March 2025 Automatically closed - issue fixed for 2 weeks with no activity.