profile images not displaying correctly if no image on LP
Bug #734520 reported by
Laura Czajkowski
This bug report is a duplicate of:
Bug #713873: (in API) Person.logo_link is hard to use and performs poorly.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Undecided
|
Unassigned | ||
LoCo Team Portal |
Fix Committed
|
Medium
|
Adnane Belmadiaf |
Bug Description
If you have an image stored on LP your image shows up fine on the LD. If you are registering to attend using openiduser you get a no image which is fine. However if you've no image on LP, the LD tries to bring in some image and shows up on the LD as a corrupt image. see examples here http://
Related branches
lp:~cjohnston/loco-team-portal/mugshot
- Adnane Belmadiaf: Approve
-
Diff: 19 lines (+2/-0)1 file modifiedloco_directory/templates/events/team_event_detail_attendees.inc.html (+2/-0)
lp:~daker/loco-team-portal/fix.734520
- Chris Johnston: Approve
-
Diff: 56 lines (+11/-11)2 files modifiedloco_directory/common/launchpad.py (+9/-7)
loco_directory/userprofiles/management/commands/update-profiles.py (+2/-4)
Changed in loco-directory: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in loco-directory: | |
assignee: | nobody → Adnane Belmadiaf (daker) |
status: | Confirmed → In Progress |
Changed in loco-team-portal: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
The problem we have here is that Launchpad doesn't return an image when the user doesn't have a mugshot like on this example https:/ /api.launchpad. net/1.0/ ~bigreds/ logo, so i believe this bug should be fixed in Launchpad.