After setting permissions to the term, batch updating doesn't start

Created on 24 November 2021, about 3 years ago
Updated 23 January 2025, 30 days ago

Problem/Motivation

After setting permissions to the term, batch updating doesn't start. It ends with nginx timeout.

Steps to reproduce

Having a site with about ~10 000 nodes. After changing term permissions and allowed roles, clicking save should start batch updating to the nodes but after some loading, I got a timeout from nginx.

Proposed resolution

Seems like
batch_process(\Drupal::service('path.current')->getPath());
is redundant in the src/Services/NodeAccess.php file.

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇪🇪Estonia mikkmiggur

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.

Production build 0.71.5 2024