Defect #15812

Default Gravatar image setting ignored in activity feed with user_id parameter

Added by Scott Macpherson almost 4 years ago. Updated almost 4 years ago.

Status:NewStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Activity view
Target version:-
Resolution: Affected version:2.4.2

Description

When viewing /activity for a specified user (e.g. /activity?user_id=4), the default Gravatar image is set to "mm" regardless of the value stored in Administration > Settings > Display > Default Gravatar image.

The default Gravatar image works correctly when the user_id parameter is removed from the URL.

  • PostgreSQL 9.1.11
  • Ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
  • Rails 3.2.16
  • Redmine 2.4.2.stable

History

#1 Updated by Scott Macpherson almost 4 years ago

I've been playing with this a little bit today and it doesn't actually appear to be related to the user_id parameter after all. My Redmine instance has a couple of user accounts. The activity feed for one generates the correct Gravatar URL, but the other doesn't:

  • /activity?from=2013-12-13&user_id=4 generates Gravatar URL https://secure.gravatar.com/avatar/[hash-goes-here]?rating=PG&size=24&default=mm
  • /activity?from=2013-12-13&user_id=4 generates Gravatar URL https://secure.gravatar.com/avatar/[hash-goes-here]?rating=PG&size=24&default=identicon

Also available in: Atom PDF