Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid error on getting users of group permission access entity #7440

Merged
merged 1 commit into from Jan 7, 2019

Conversation

hissy
Copy link
Contributor

@hissy hissy commented Dec 29, 2018

If the group already deleted, an exception occurred when using a group entity of the deleted group.

Exception Occurred: /Users/hissy/Repositories/concrete5/concrete/src/Permission/Access/Entity/GroupEntity.php:21 Call to a member function getGroupMembers() on boolean (0)

Steps to reproduce:

  1. Create a group
  2. Create a Workflow then set a notification to the group
  3. Apply the workflow from full sitemap page
  4. Delete the group
  5. Create a workflow request with approving a page

If the group already deleted, "Call to a member function getGroupMembers() on boolean" happened.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants