🇪🇸Spain @ipitbiz

Account created on 30 May 2013, over 11 years ago
#

Recent comments

🇪🇸Spain ipitbiz

Hi all,

I add a patch for version 10.3 and 11 because the one that is visible now only works for 10.2.

🇪🇸Spain ipitbiz

The final patch that fixes both problems. The reason is that gid cannot be null.

🇪🇸Spain ipitbiz

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.

🇪🇸Spain ipitbiz

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,

🇪🇸Spain ipitbiz

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.

Production build 0.71.5 2024