Skip to:

Opened 8 years ago

Last modified 8 years ago

#7109 new defect (bug)

`wp_bp_xprofile_groups` DB table sometimes sets `Base` group to an `id` that is not `1`

Reported by: r-a-y's profile r-a-y Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: major Version: 1.2
Component: Extended Profile Keywords: dev-feedback


I've seen a few reports on the forums about the registration page and "Edit Profile" button not working correctly when the Extended Profiles component is enabled.

It appears this issue dates back quite far. At least BP 1.8 or even earlier:

More recent:

The main problem is sometimes the wp_bp_xprofile_groups DB table sets the Base group at an id that isn't 1.

The only way this can happen is if the Base group is deleted somehow and then recreated, which auto-increments the id.

Since we do manual checks for id = 1, this breaks things like the registration page and "Edit Profile" link (/members/USER/profile/edit/group/1/):,154-157#L133

This might be related to this:

Looks like this dates as far back as v1.2.

Change History (2)

#1 @r-a-y
8 years ago

Related: #6685, #6959, #5313.

Last edited 8 years ago by r-a-y (previous) (diff)

#2 @DJPaul
8 years ago

  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.