Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5187 closed defect (bug) (fixed)

Unable to add user to Group that has an email address as their username

Reported by: wernerk's profile wernerk Owned by: r-a-y's profile r-a-y
Milestone: 1.9 Priority: normal
Severity: normal Version: 1.8
Component: Groups Keywords:
Cc:

Description

Unable to add user to Group that has an email address as their username

Steps to duplicate the issue:

1) Create a user with an email address as the username
2) In the Admin Panel go to Groups/Edit/Add? New Members
3) Type in part of the username and click to select the suggestion. The name shows up under the field with an "x" next to it
4) Click the save changes button in the upper right hand corner
5) A message states that the “The group has been updated successfully” but the member is not added to the group.

This issue was reported on 09/11/13 by @elangley (see http://buddypress.org/support/topic/unable-to-add-user-to-group/#post-171175), unfortunately a ticket was submitted to the bbPress rather than Buddypress Trac.(see http://bbpress.trac.wordpress.org/ticket/2425)
Resubmitting, hopefully the correct place this time.

Change History (2)

#1 @r-a-y
11 years ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 7478:

Use 'user_nicename' when adding a member via autocomplete in the group
admin dashboard page.

Previously, 'user_login' was used, which is an unsanitized version of the
username. When attempting to add a member with special characters (such
as an email address), the JS would throw an error.

Switching to 'user_nicename' allows a sanitized version of the username to
be used and fixes the issue with the autocomplete JS.

Fixes #5187.

#2 @r-a-y
11 years ago

  • Keywords needs-patch needs-testing reporter-feedback removed
  • Milestone changed from Awaiting Review to 1.9
  • Version changed from 1.8.1 to 1.8
Note: See TracTickets for help on using tickets.