Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 500202

Summary: Wrong username in message when user favorite is empty
Product: Community Reporter: Antoine THOMAS <antoine.thomas>
Component: MarketplaceAssignee: Marketplace Inbox <marketplace-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chris.guindon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Screen capture of an empty favorite list none

Description Antoine THOMAS CLA 2016-08-24 08:58:00 EDT
Created attachment 263755 [details]
Screen capture of an empty favorite list

If you browse a user profile on the marketplace and go the "Favorites" tab, there is an issue with the message when the list of favorites is empty.

Instead of using the username of the profile owner, it uses the username of the visitor. If the visitor is not logged in, it will use "Anonymous" instead of a user name.

E.G:
Visitor: ttoine
Profile favorites: dschaefer

It displays "ttoine favorite is currently empty" instead of "dschaefer favorite list is empty"

please see the attached screenshot.
Comment 1 Christopher Guindon CLA 2016-08-24 10:32:44 EDT
I am using the current logged in user instead of the user of the profile page is currently viewing.

Nice catch!
I have a patch ready:
https://foundation.eclipse.org/r/#/c/795/
Comment 2 Christopher Guindon CLA 2016-08-24 11:03:21 EDT
Fixed and deployed:

http://marketplace.eclipse.org/user/2314/favorites