Skip to content

Entity query access check incorrect if query is property on class #437

Open
@mglaman

Description

@mglaman

Given \Drupal\Tests\migrate_tools\Functional\MigrateExecutionFormTest

  private QueryInterface $vocabularyQuery;


    $this->vocabularyQuery = $this->container->get('entity_type.manager')
      ->getStorage('taxonomy_term')
      ->getQuery()
      ->accessCheck(TRUE);


    $real_count = $this->vocabularyQuery->count()->execute();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions