Closed (fixed)
Project:
Drupal Commons
Version:
6.x-2.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Apr 2012 at 08:36 UTC
Updated:
4 Jan 2014 at 02:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hernani commentedThe following patch makes the group name truncating consistent:
Comment #2
ezra-g commentedMarking as "needs review" and tagging for review for the 2.7 release.
Comment #3
ezra-g commentedAdding a descriptive issue title.
Comment #4
gregglesShouldn't this be truncate_utf8 or at least drupal_substr instead of substr?
Comment #5
gregglesHow about this? It also gets drupal_strlen instead of strlen.
Comment #6
ezra-g commentedThe string handling looks good but unfortunately this uncovers a bug in og_features that causes the breadcrumb to not match the search filter when a node is in multiple groups. Not sure why we have og_features_get_group_context() but that's returning different context than og_get_group_context(), which it appears to duplicate.
Comment #7
ezra-g commentedThis patch simply uses og_get_group_context() to set the group filter and resolves the problem in #6.
Comment #8
ezra-g commentedThis is committed. Thanks!
http://drupalcode.org/project/commons.git/commitdiff/18885b5?hp=5038a5e5...