Download & Extend

Missing User Name in User's Activity Stream Title

Project:Activity Stream
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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?

Comments

#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

Status:active» fixed

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

Status:fixed» closed (fixed)

And now fixed in 6.x as well

#5

Status:closed (fixed)» active

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

Status:active» postponed (maintainer needs more info)

#8

Status:postponed (maintainer needs more info)» closed (fixed)

@akalsey You're right. I was confused between USERNAME and UID. UID (which is a #) works.

nobody click here