[buddypress-trac] [BuddyPress] #2349: Activity Permalinks (#) on activity page are broken for long post titles

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Dec 5 21:38:29 UTC 2010


#2349: Activity Permalinks (#) on activity page are broken for long post titles
--------------------+-------------------------------------------------------
 Reporter:  3sixty  |       Owner:     
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:  1.3
Component:  Core    |     Version:     
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by boonebgorges):

 The problem is this. By default, bbPress limits slug length to 255
 characters. But the primary_link column in the BP activity table is set to
 varchar(150). So in most cases (by the time you subtract the length of the
 domain, etc) you might be left with a max of 100 of those characters being
 stored in primary_link.

 I think the answer is to bump the maximum size of primary_link. See
 2349-1.patch. I increased it to 300, but even that might not be enough for
 long domain names, etc. Anyone have a sense of the best way to handle it?

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2349#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list