navesdad / foursquared

Automatically exported from code.google.com/p/foursquared
Apache License 2.0
0 stars 0 forks source link

If a user has no surname null is displayed #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Change your last name to nothing (i.e. "") via the website
2. Open the foursquare app
3. Menu->My Info

What is the expected output? What do you see instead?
I expect to see my name along the top,
Instead I see my first name followed by the word "null"

What version of the product are you using? On what operating system?
The latest version from the hg tree.

Please provide any additional information below.
I have fixed this problem with the attached patch. The patch adds an 
additional method to StringFormatter, and then changes the UserActivity to 
use it rather than concatenating the first and last names itself.

Original issue reported on code.google.com by brampton on 6 Dec 2009 at 1:31

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 5434feeae3.

Original comment by jlapenna on 7 Dec 2009 at 12:42