Call to undefined method NodeAccessControlHandler::writeGrants()

Created on 14 May 2021, about 3 years ago
Updated 23 June 2023, about 1 year ago

Problem/Motivation

Licenses are not being granted on Drupal 9 when order is completed (paid).
Module calls to deprecated function https://api.drupal.org/api/drupal/core%21modules%21node%21src%21NodeAcce...
Attaching patch as proposed solution.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡±Poland salmonek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡§πŸ‡·Brazil barone Belo Horizonte

    Confirming that after applying the patch the issue was fixed and the order successfully created. Tested on site with the following:
    -- Drupal core: 9.5.8
    -- Drupal commerce: 2.36
    -- Drupal Commerce Licence 3.0
    -- Drupal ACL 1.0 beta
    -- Drupal Content access 2.0 rc

  • πŸ‡§πŸ‡·Brazil barone Belo Horizonte
Production build 0.69.0 2024