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

Can't add someone to group if already in one #120

Closed
kngfrank opened this issue Sep 1, 2016 · 4 comments
Closed

Can't add someone to group if already in one #120

kngfrank opened this issue Sep 1, 2016 · 4 comments

Comments

@kngfrank
Copy link
Collaborator

kngfrank commented Sep 1, 2016

Can't add someone to group if they already belong to a group.

On dev:

If someone is already in a group:

I logged in as main site admin (kfrank) and tried to add user "kateorgadmin" to the group "ctlawhelp." I got the generic error message saying "The website encountered an unexpected error. Please try again later."

I got an email confirming that kateorgadmin was added successfully to ctlawhelp.

But kateorgadmin cannot edit any content or see any controls for editing.

When I am logged as kateorgadmin and I look at the organization page, I see that I am able to unsubscribe from the group:
kateorgadmin

After tinkering around and trying to add the account to ctlawhelp, I can see kateorgadmin in the list of group members as "pending." But when I try to change the account to active, I get the message again: "The website encountered an unexpected error. Please try again later."

**** Edit: After multiple attempts to add kateorgadmin to ctlawhelp, the system finally allowed me.

@kngfrank
Copy link
Collaborator Author

kngfrank commented Sep 1, 2016

Aaaaaaaand then all the behavior stopped when I tried to replicate the problem.

@kngfrank kngfrank changed the title Can't add someone to group Can't add someone to group ***not happening anymore Sep 1, 2016
@kngfrank kngfrank changed the title Can't add someone to group ***not happening anymore Can't add someone to group if already in one Sep 6, 2016
@KathyDaniels
Copy link

I'm getting this too. I applied to join the group and got a message that my membership is pending approval. Kate got the message to make me a group member, but when she tried to add me to the group it told her that I was already in a group and she couldn't add me.

And then I looked at the "People" section and it showed "Unsubscribe from Group" as above as though I am in the group. And in the org, I am not listed in the Members and just see the regular classroom display, no option to edit.

@emasters
Copy link
Member

The error being generated is
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityDrupalWrapper->set() (line 737 of /vol/data/ocm/sites/all/modules/entity/includes/entity.wrapper.inc).

This seems to be a bug in Drupal.

@emasters
Copy link
Member

This is a duplicate of #66. I'm going to close this one.

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

No branches or pull requests

3 participants