Problem/Motivation

There are multiple test failures on 11.x

One is from #3533299: Deprecate node access rebuild functions, see #59:

Basically, with DependencySerializationTrait, the service property is being re-initialized from the container in __wakeup(), which is causing an error because it is readonly and can not be set outside the constructor.

Two are from #3581109: Move HelpSearch to Search sub-module: need to install mysqli in update tests.

Last is from #3184242: Support brotli compression of assets: similar issue with needing mysqli in an update test.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3588558

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

godotislate created an issue. See original summary.

godotislate’s picture

Status: Active » Needs review
godotislate’s picture

One question is whether the readonly should also be removed in main, but I don't think that's a BC break.

nicxvan’s picture

They aren't in a release yet afaict, should be safe to change on main.

godotislate’s picture

Oh, sorry, I meant that if we leave main with readonly, then a site going from 11.4 to 12.0 could hit issues if there are subclasses that redeclare the same property without readonly.

catch’s picture

Status: Needs review » Reviewed & tested by the community

I think the readonly is OK on main - properties on form controllers are supposed to be @internal.

godotislate’s picture

I wonder if we should create an issue to update the 11.3 dump (or make a new one) with mysqli installed, if there isn't already one.

catch’s picture

Yes I think that's worth doing, I thought we had an issue but can't find it right now.

godotislate’s picture

godotislate’s picture

#3588702: Install mysqli in test 11.3 database fixture is ready for review. It might make sense to get that in first so we don't need to backport the mysqli fixture to 11.x here.