[buddypress-trac] [BuddyPress] #3080: primary_link varchar to short in bp_activity table

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Feb 22 23:51:15 UTC 2011


#3080: primary_link varchar to short in bp_activity table
---------------------+-----------------------------
 Reporter:  dwenaus  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  normal   |  Milestone:  Awaiting Review
Component:  Core     |    Version:
 Keywords:           |
---------------------+-----------------------------
 In a real world install, i found 150 characters were too short for a link
 that was generated.

 line 42 of bp-activity.php should probably read:
                                 primary_link varchar(255) NOT NULL,

 Otherwise, we should truncate very long link urls that are based on forum
 topic titles (and make sure no duplicates exist).

 for interest sake, here is the url that got truncated
 http://XXXXXXXXXnetwork.org/groups/beta-phase-discussion-group/forum/topic
 /how-do-people-feel-about-adding-another-group-for-centre-members-do-we-
 need-it/

-- 
Ticket URL: <https://trac.buddypress.org/ticket/3080>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list