[buddypress-trac] [BuddyPress Trac] #5472: xprofile_insert_field -> type - 'option' not allowed?

buddypress-trac noreply at wordpress.org
Sun Jun 15 20:01:13 UTC 2014


#5472: xprofile_insert_field -> type - 'option' not allowed?
------------------------------+---------------------------
 Reporter:  shanebp           |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  2.1
Component:  XProfile          |     Version:  1.9.2
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |
------------------------------+---------------------------

Comment (by boonebgorges):

 > Sorry, but I'm just guessing as to why the option_order field is saved
 as 0 for every row when inserting options in a loop.

 This is where I'm getting lost. When I put your code into bp-custom.php,
 and then visited ?page=bp-profile-setup, all options were created with the
 correct option order. Maybe I'm not attempting to reproduce the problem in
 the same way that you're doing it? Exact steps to reproduce would be very,
 very helpful.

 > btw - I'm not using trunk.
 > Just the 5472.01.patch on BP: 2.0.1

 Can you try with trunk? We are trying to determine if there is a problem
 to fix for BP 2.1.

 If it does turn out that there are discrepancies between what you're
 seeing and what I'm seeing when following the same steps, it's likely that
 there's something (a plugin of some sort?) on your installation that's
 causing issues. Again, exact steps to reproduce (including environment
 information) is of the essence here.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5472#comment:20>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list