Problem/Motivation

Follow up from #2002012: Inject the display plugin manager into the view and view factory from @catch

I think we could open a follow-up to use the DependencySerializationTrait in ViewsExecutabl... it'll be a little complex because we'll need to do a little work to make things work...
Also I think we should open a follow-up to use $this->provider in \Drupal\views\ViewExecutable::hasUrl() instead of \Drupal::service().

First one will be covered here

Steps to reproduce

NA

Proposed resolution

Use DependencySerializationTrait in ViewsExecutable

Remaining tasks

TBD

User interface changes

NA

API changes

TBD

Data model changes

TBD

Release notes snippet

TBD

Issue fork drupal-3436812

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

smustgrave created an issue. See original summary.

Spokje made their first commit to this issue’s fork.

spokje’s picture

Assigned: Unassigned » spokje
Status: Active » Needs work

"Interestingly" \Drupal\Tests\views\Functional\UserBatchActionTest passes locally and on Gitlab on PHP 8.1 (https://git.drupalcode.org/issue/drupal-3390360/-/jobs/1183273#L65) but fails on PHP 8.3.

Also I would have expected either no or a bunch of failures, not just one test that (on first glance) doesn't seem to do anything to wild.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.