Problem/Motivation

\Drupal\views\Plugin\views\argument_validator\Entity::calculateDependencies() causes deprecations on PHP 8.5. in \Drupal\Component\Plugin\Discovery\DiscoveryTrait::doGetDefinition

Steps to reproduce

Run \Drupal\Tests\user\Kernel\Views\ArgumentValidateTest

Proposed resolution

If there is no bundle entity do even less.

Remaining tasks

User interface changes

None

Introduced terminology

N/a

API changes

None

Data model changes

None

Release notes snippet

N/a

Issue fork drupal-3557516

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

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Ran locally with 8.5.0RC3

2 tests triggered 1 PHP deprecation:
With the MR 0 deprecations

JS was a random failure.

Change LGTM

  • catch committed f8250858 on 11.3.x
    fix: #3557516 \Drupal\views\Plugin\views\argument_validator\Entity::...

  • catch committed 6a2c85f6 on 11.x
    fix: #3557516 \Drupal\views\Plugin\views\argument_validator\Entity::...

catch’s picture

Version: 11.x-dev » 11.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x and cherry-picked to 11.3.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.