- Issue was unassigned.
- Status changed to Fixed
over 1 year ago 9:34pm 20 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.
In hook_node_grants() the configuration for roles is read and foreach role that exists in the system, an entry is written to the $grants array. The code does not check whether configuration exists for any given role. We've seen this run into problems on our automated tests, where configuration does not exist for a role.
Do an isset() check before trying to assign a value from the configuration.
None.
None.
None.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.