Problem/Motivation

6ce4b85c made by @sakthi_dev on #3366910: Drupal 10 compatibility added accessCheck calls before every instance of ->execute() in the codebase, which introduces numerous errors. #3370209: Error: Call to undefined method Drupal\mysql\Driver\Database\mysql\Select::accessCheck() resolves one of the errors, but there are more.

Steps to reproduce

- Attempt to run module updates
- Observe > [error] Call to undefined method Drupal\mysql\Driver\Database\mysql\Update::accessCheck() in recurring_events_update_8011

Proposed resolution

Review codebase to ensure accessCheck is only run where it's actually needed.

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

froboy created an issue. See original summary.

froboy’s picture

Status: Active » Needs review

I've tested this with a backup db and it allows updates to succeed again.

froboy’s picture

Title: Additional extraneous accessCheck() calls » Remove failing accessCheck() calls

  • froboy committed 8d84430b on 2.0.x
    #3376639 Remove bad accessCheck calls
    
podarok’s picture

Version: 2.0.x-dev » 2.0.0-rc12
Status: Needs review » Fixed

tnx

Status: Fixed » Closed (fixed)

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