Hi all,
I add a patch for version 10.3 and 11 because the one that is visible now only works for 10.2.
The final patch that fixes both problems. The reason is that gid cannot be null.
Hello again,
Sorry, I realized that my difference is due to the fact that I have the patch applied as well:
https://www.drupal.org/files/issues/2024-03-11/3427115-2.patch →
I don't know if the same thing can happen to anyone.
Hello,
I add a small change in the patch because the code of version 1.5 changes a little. Instead of:
'realm' => 'view_unpublished_author',
'gid' => $node->getOwnerId(),
I have:
'realm' => 'view_unpublished_author',
'gid' => $node->getOwnerId() ?? 1,
I've added a small change to make the patch work, although I'd like to have it reviewed in case anyone has a better solution.