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
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
Comment #4
spokje"Interestingly"
\Drupal\Tests\views\Functional\UserBatchActionTestpasses 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.