Skip to:
Content

BuddyPress.org

Opened 7 years ago

Closed 7 years ago

#5221 closed defect (bug) (duplicate)

possible bug with profile field creation

Reported by: DJPaul Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords:
Cc:

Description

In the wp-admin Users > Profile Fields screen, are you able/meant to be able to change the type of an existing profile field? Pretty sure it always used to work like this.

can_delete seems to be getting set to 0 for new records in the bp_xprofile_fields table. Editing the DB directly gives me the options I'd expect.

I think we should do something like http://pastebin.com/9Hn48bfC

Attachments (1)

5221.patch (416 bytes) - added by boonebgorges 7 years ago.

Download all attachments as: .zip

Change History (3)

#1 @boonebgorges
7 years ago

I think we should do something like ​http://pastebin.com/9Hn48bfC

A more general solution would be to set a default value in BP_XProfile_Field. See 5221.patch.

are you able/meant to be able to change the type of an existing profile field?

Yes, I think so. In a quick test against current trunk, I'm able to change the type. Are you unable to? Is it related to the can_delete issue for *new* fields?

@boonebgorges
7 years ago

#2 @boonebgorges
7 years ago

  • Milestone 1.9 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #5237.

Note: See TracTickets for help on using tickets.