Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Remove user_load call in og_get_user_roles #448

Closed
wants to merge 1 commit into from

Conversation

jorrit
Copy link

@jorrit jorrit commented Dec 11, 2018

This prevents adding a partial user object to the entity cache because og_get_user_roles is called during user_save().

This prevents adding a partial user object to the entity cache because og_get_user_roles is called during user_save().
@jorrit
Copy link
Author

jorrit commented Dec 11, 2018

I forgot to mention: the effect of having a partial object in de user entity cache is that the realname will not be properly generated for email notifications.

@jacobembree
Copy link

This makes sense to me.

jacobembree added a commit to jacobembree/og that referenced this pull request Jan 11, 2019
og.module Show resolved Hide resolved
@claudiu-cristea
Copy link
Collaborator

Since https://www.drupal.org/project/og/issues/3467694 was merged into the 8.x-1.x branch, the development has been moved to https://www.drupal.org/project/og. If this change is still actual, please open an issue at https://www.drupal.org/project/issues/og and provide there a merge request similar with this pull request.

Thank you for contributing to Organic groups module.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants