Closed Bug 762258 Opened 10 years ago Closed 10 years ago
Don't show duplicate information in Account lookup
steps to reproduce: 1. Load https://marketplace-dev.allizom.org/en-US/account-lookup/5540398/summary 2. Notice the 'Addresses' section expected behavior: We only show the latest address for the user OR at least show only distinct address information. actual behavior: We list a lot of duplicate information. See screenshot
The data model is a little weird because we capture payment info per addon not per developer. I can change it to filter out dupes though (and look a little prettier).
Assignee: nobody → kumar.mcmillan
Priority: -- → P3
Target Milestone: --- → 2012-06-14
Assignee: kumar.mcmillan → xwraithanx
Target Milestone: 2012-07-26 → 2012-08-16
The issue is that the template loops over developer addresses but does not check for duplicates. This can be fixed in the view before getting passed to the template: https://github.com/mozilla/zamboni/blob/master/mkt/lookup/views.py#L54 https://github.com/mozilla/zamboni/blob/master/mkt/lookup/templates/lookup/user_summary.html#L71
Target Milestone: 2012-08-16 → 2012-08-23
Target Milestone: 2012-08-23 → 2012-08-16
andym suggests we leave this until we figure out payments. Most cases AddonPaymentData is going away or changing so we can deal with it then. Here is the code I've written so far with some review comments: https://github.com/wraithan/zamboni/commit/3ccea8c
Target Milestone: 2012-08-16 → ---
Target Milestone: --- → 2012-08-23
https://github.com/mozilla/zamboni/commit/28935b8 Will show addresses that differ at all.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.