Missing User Name in User's Activity Stream Title
spiffyd - July 28, 2008 - 07:14
| Project: | Activity Stream |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
On a user's stream page, I notice the User Name is missing. Instead of "USERNAME's Activity Stream", the title reads "'s Activity Stream" Any one else have this problem?

#1
I was able to re-create this problem by navigating to /stream/, looks like the code is performing a lookup of the user based on uid, and expects the second part of the path to be a users UID.
spiffyd, can you confirm that going to /stream/ work's as expected?
#2
@eojthebrave
Going to /stream/ works fine. "All users' Activity Streams" is shown. The issue is just with individual users.
#3
Found it...
This happened when going to a stream item's node page, then clicking the breadcrumb link to return to the user's stream. The breadcrumb link was using $user->name instead of $user->uid
Fixed in 5.x
#4
And now fixed in 6.x as well
#5
The bug is still present in the latest release for the specific user's stream: http://example.com/stream/USER
Only " 's Activity Stream" is displayed.
http://example.com/stream works fine though. "All users' Activity Streams" is displayed.
#6
How are you getting to that URL? Activity Stream URLs (and pretty much everything else in Drupal) are in the format /stream/UID not /stream/USERNAME
#7
#8
@akalsey You're right. I was confused between USERNAME and UID. UID (which is a #) works.