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

eojthebrave’s picture

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?

spiffyd’s picture

@eojthebrave

Going to /stream/ works fine. "All users' Activity Streams" is shown. The issue is just with individual users.

akalsey’s picture

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

akalsey’s picture

Status: Fixed » Closed (fixed)

And now fixed in 6.x as well

spiffyd’s picture

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.

akalsey’s picture

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

akalsey’s picture

Status: Active » Postponed (maintainer needs more info)
spiffyd’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

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