[buddypress-trac] [BuddyPress] #1532: Editing username in DB breaks profile pages.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Nov 27 13:00:04 UTC 2010


#1532: Editing username in DB breaks profile pages.
-----------------------------+----------------------------------------------
  Reporter:  markmcwilliams  |       Owner:        
      Type:  defect          |      Status:  closed
  Priority:  minor           |   Milestone:  1.3   
 Component:  Core            |     Version:        
Resolution:  wontfix         |    Keywords:        
-----------------------------+----------------------------------------------
Changes (by boonebgorges):

  * status:  reopened => closed
  * resolution:  => wontfix


Comment:

 I'm unable to reproduce the exact problem described by markmcwilliams on
 the latest trunk. When I manually change the user_nicename of a user (from
 say boone5 to boone-5) I am able to visit the user's profile at
 members/boone-5 without a problem. A few other things break; eg activity
 @-mentions, which are detected with username_exists().

 Given that:
 - The problem as stated doesn't exist on the latest trunk
 - As sbrajesh says, changing the admin username is no longer needed
 because of WP 3.x (though of course it never really was needed, since you
 could always make a new admin user and demote the original one)
 - Some of the OP's concern's might be addressed by #1978, to which extent
 this is a duplicate
 - And, perhaps most importantly, as apeatling and mrmaz have suggested,
 changing a user_nicename manually is, at best, an edge case, and probably
 something that we don't want to encourage in the core of BP;
 I'm closing this ticket.

 It's possible that one could extract a reasonable enhancement request from
 this discussion - a non-intrusive, safe way to change a username
 throughout a BP installation (something I've had to do before, which
 requires a number of careful queries to change all instances). But it
 seems outside the scope of this bug report.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1532#comment:26>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list